GHSA-p6gj-gpc8-f8xw
Dashboard / Vulnerabilities / GHSA-p6gj-gpc8-f8xw
GHSA-p6gj-gpc8-f8xw
Published: 17 Jun 2022Last 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://github.com/Absolucy/nanorand-rs/issues/28, https://github.com/Absolucy/nanorand-rs, https://rustsec.org/advisories/RUSTSEC-2021-0114.html
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
