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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- rustsec.org patch third-party-advisory vendor-advisory
- github.com
- github.com product
- crates.io product