- Reported
-
- Issued
-
- Package
-
rulinalg
(crates.io)
- Type
-
Vulnerability
- Aliases
-
- References
-
- CVSS Score
- 9.8
CRITICAL
- CVSS Details
-
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- CVSS Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Patched
-
no patched versions
- Unaffected
-
- Affected Functions
- Version
rulinalg::matrix::RowMut::raw_slice
-
rulinalg::matrix::RowMut::raw_slice_mut
-
Description
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.
Advisory available under CC0-1.0
license.