Skip to content

CVE-2020-35865 os_str_bytes relies on undefined behavior of `char::from_u32_unchecked`

HighCVSS 7.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known

Description

An issue was discovered in the os_str_bytes crate before 2.0.0 for Rust. It has false expectations about char::from_u32_unchecked behavior.

Affected products

ProductAffected versionsFixed in
crates.io os_str_bytes(crates.io) < 2.0.0 2.0.0
crates.io os_str_bytes(crates.io) >= 0.0.0-0, < 2.0.0 2.0.0
os str bytes project os str bytes < 2.0.0 2.0.0

References