Lucene search

K
osvGoogleOSV:GHSA-HVQC-PC78-X9WH
HistoryAug 25, 2021 - 8:53 p.m.

Soundness issue in raw-cpuid

2021-08-2520:53:10
Google
osv.dev
11

0.001 Low

EPSS

Percentile

42.6%

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

CPENameOperatorVersion
raw-cpuidlt9.0.0

0.001 Low

EPSS

Percentile

42.6%

Related for OSV:GHSA-HVQC-PC78-X9WH