Buffer overflow in Safe-Transmute Project
CVE-2018-21000
An issue was discovered in the safe-transmute crate before 0.10.1 for Rust. A constructor's arguments are in the wrong order, causing heap memory corruption.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.020, 80.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Artisan-Lab/Rust-memory-safety-bugs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- rustsec.org/advisories/RUSTSEC-2018-0013.html (Third Party Advisory)
- github.com/nabijaczleweli/safe-transmute-rs/pull/36 (Patch, Third Party Advisory)