CVE-2018-21000 – safe-transmute
Package
Manager: cargo
Name: safe-transmute
Vulnerable Version: >=0.4.0 <0.10.1
Severity
Level: Critical
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00425 pctl0.61399
Details
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.
Metadata
Created: 2021-08-25T20:43:23Z
Modified: 2023-06-13T21:04:31Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-2v78-j59h-fmpf/GHSA-2v78-j59h-fmpf.json
CWE IDs: ["CWE-119"]
Alternative ID: GHSA-2v78-j59h-fmpf
Finding: F316
Auto approve: 1