RUSTSEC-2021-0114
Dashboard / Vulnerabilities / RUSTSEC-2021-0114
RUSTSEC-2021-0114
Published: 23 Sept 2021Last Modified: 8 Nov 2023
Summary: Aliased mutable references from `tls_rand` & `TlsWyRand`
Details: `TlsWyRand`'s implementation of `Deref` unconditionally dereferences a raw pointer, and returns multiple mutable references to the same object, which is undefined behavior.
References: https://crates.io/crates/nanorand, https://rustsec.org/advisories/RUSTSEC-2021-0114.html, https://github.com/Absolucy/nanorand-rs/issues/28
Affected packages
Package
Name: nanorand
Purl: pkg:cargo/nanorand
Affected ranges
Type: SEMVER
Events:
Introduced- 0.5.0
Fixed -0.6.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
