GHSA-hvqc-pc78-x9whHighCVSS 7.5

Soundness issue in raw-cpuid

Published
August 25, 2021
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

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)].

🎯 Affected products1

  • rust/raw-cpuid:< 9.0.0

🔗 References (5)