Advisory

RUSTSEC-2020-0023

Also known as: CVE-2020-35879, GHSA-q2gj-9r85-p832

Summary

Lifetime boundary for raw_slice and raw_slice_mut are incorrect

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2020-02-11 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

rulinalg

crates.io · All systems

Affected

  • introduced 0.4.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences