raw-cpuid
Affected
- introduced
0, fixed9.0.0(semver)
Fixed versions
9.0.0
Fix
- Fixed version
9.0.0cargo update -p raw-cpuid --precise 9.0.0
Advisory
Also known as: CVE-2021-26306, CVE-2021-26307, GHSA-jrf8-cmgg-gv2m, RUSTSEC-2021-0013
Soundness issue in raw-cpuid
VendorInfo::as_string(), SoCVendorBrand::as_string(), and ExtendedFunctionInfo::processor_brand_string() construct byte slices using std::slice::from_raw_parts(), with data coming from #[repr(Rust)] structs. This is always undefined behavior.
This flaw has been fixed in v9.0.0, by making the relevant structs #[repr(C)].
High Basis: The source's own band: HIGH
0, fixed 9.0.0 (semver)9.0.0
9.0.0cargo update -p raw-cpuid --precise 9.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0