~ / search / GHSA-q2gj-9r85-p832

GHSA-q2gj-9r85-p832

Data races in rulinalg

Source: GitHub Advisory Database (reviewed) Critical CVE-2020-35879

Packages

EcosystemPackageAffectedFixed in
crates.io rulinalg >= 0.4.0, <= 0.4.2 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

The affected version of rulinalg has incorrect lifetime boundary definitions for RowMut::raw_slice and RowMut::raw_slice_mut. They do not conform with Rust's borrowing rule and allows the user to create multiple mutable references to the same location. This may result in unexpected calculation result and data race if both references are used at the same time.

References

External links from the advisory. They lead to third-party sites.