Advisory

GHSA-w428-f65r-h4q2

Also known as: CVE-2021-45687, GHSA-jf5h-cf95-w759, RUSTSEC-2021-0089

Summary

Deserialization of Untrusted Data in rust-cpuid

Details

An issue was discovered in the raw-cpuid crate before 9.1.1 for Rust. If the serialize feature is used (which is not the the default), a Deserialize operation may lack sufficient validation, leading to memory corruption or a panic.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-01-06 22:13 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

raw-cpuid

crates.io · All systems

Affected

  • introduced 3.1.0, fixed 9.1.1 (semver)

Fixed versions

9.1.1

Fix

  • Fixed version 9.1.1
    cargo update -p raw-cpuid --precise 9.1.1

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences