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-fmpf
JSON: 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: Repository: https://github.com/nabijaczleweli/safe-transmute-rs
Blast Radius: 25.2

Affected Packages

cargo:safe-transmute
Dependent packages: 31
Dependent 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