GHSA-hvqc-pc78-x9wh

    Dashboard / Vulnerabilities / GHSA-hvqc-pc78-x9wh

    GHSA-hvqc-pc78-x9wh

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Soundness issue in raw-cpuid

    Details: 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 packages

    Package

    Name: raw-cpuid

    Purl: pkg:cargo/raw-cpuid

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -9.0.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-hvqc-pc78-x9wh | CVE-DB