os_str_bytes
Affected
- introduced
0.0.0-0, fixed2.0.0(semver)
Fixed versions
2.0.0
Fix
- Fixed version
2.0.0cargo update -p os_str_bytes --precise 2.0.0
Advisory
Also known as: CVE-2020-35865, GHSA-q948-x8rf-888m
Relies on undefined behavior of char::from_u32_unchecked
The Windows implementation of this crate relied on the behavior ofstd::char::from_u32_unchecked when its safety clause is violated.
Even though this worked with Rust versions up to 1.42 (at least),
that behavior could change with any new Rust version, possibly leading
a security issue.
The flaw was corrected in version 2.0.0.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0.0.0-0, fixed 2.0.0 (semver)2.0.0
2.0.0cargo update -p os_str_bytes --precise 2.0.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0