Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTJ2NzgtajU5aC1mbXBm
Heap overflow or corruption in safe-transmute
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.
Permalink: https://github.com/advisories/GHSA-2v78-j59h-fmpfJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTJ2NzgtajU5aC1mbXBm
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 2 years ago
Updated: 11 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-2v78-j59h-fmpf, CVE-2018-21000
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-21000
- https://github.com/nabijaczleweli/safe-transmute-rs/pull/36
- https://rustsec.org/advisories/RUSTSEC-2018-0013.html
- https://github.com/nabijaczleweli/safe-transmute-rs/commit/a134e06d740f9d7c287f74c0af2cd06206774364
- https://github.com/advisories/GHSA-2v78-j59h-fmpf
Blast Radius: 25.2
Affected Packages
cargo:safe-transmute
Dependent packages: 31Dependent repositories: 374
Downloads: 694,791 total
Affected Version Ranges: >= 0.4.0, < 0.10.1
Fixed in: 0.10.1
All affected versions: 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.10.1, 0.11.0, 0.11.1, 0.11.2