VendorInfo::asstring(), SoCVendorBrand::asstring(), and ExtendedFunctionInfo::processorbrandstring() construct byte slices using std::slice::fromrawparts(), 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)].
{ "nvd_published_at": "2021-01-29T03:15:00Z", "cwe_ids": [ "CWE-198", "CWE-400" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-08-19T18:02:19Z" }