GHSA-r57r-j98g-587f
Dashboard / Vulnerabilities / GHSA-r57r-j98g-587f
GHSA-r57r-j98g-587f
Published: 6 Jan 2022Last Modified: 8 Nov 2023
Summary: Pointer dereference in nanorand
Details: An issue was discovered in the nanorand crate before 0.6.1 for Rust. There can be multiple mutable references to the same object because the TlsWyRand Deref implementation dereferences a raw pointer.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-45705, https://github.com/Absolucy/nanorand-rs/issues/28, https://github.com/Absolucy/nanorand-rs, https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nanorand/RUSTSEC-2021-0114.md, 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
