GHSA-2v78-j59h-fmpf
Dashboard / Vulnerabilities / GHSA-2v78-j59h-fmpf
GHSA-2v78-j59h-fmpf
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Heap overflow or corruption in safe-transmute
Details: Affected versions of this crate switched the length and capacity arguments in the Vec::from_raw_parts() constructor, which could lead to memory corruption or data leakage.
References: https://nvd.nist.gov/vuln/detail/CVE-2018-21000, https://github.com/nabijaczleweli/safe-transmute-rs/pull/36, https://github.com/nabijaczleweli/safe-transmute-rs/commit/a134e06d740f9d7c287f74c0af2cd06206774364, https://github.com/nabijaczleweli/safe-transmute-rs, https://rustsec.org/advisories/RUSTSEC-2018-0013.html
Affected packages
Package
Name: safe-transmute
Purl: pkg:cargo/safe-transmute
Affected ranges
Type: SEMVER
Events:
Introduced- 0.4.0
Fixed -0.10.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
