PT-2020-17511 · Rust · Rulinalg

Athemathmo

·

Published

2020-02-11

·

Updated

2021-08-25

·

CVE-2020-35879

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions rulinalg versions through 2020-02-11
Description An issue was discovered in the rulinalg crate, where there are incorrect lifetime-boundary definitions for RowMut::raw slice and RowMut::raw slice mut. These definitions do not conform with Rust's borrowing rule, allowing the creation of multiple mutable references to the same location. This may result in unexpected calculation results and data races if both references are used at the same time.
Recommendations For versions through 2020-02-11, consider restricting the use of RowMut::raw slice and RowMut::raw slice mut to prevent creating multiple mutable references to the same location until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-35879
GHSA-Q2GJ-9R85-P832
RUSTSEC-2020-0023

Affected Products

Rulinalg