Live threats

All CVEs / Raw-cpuid Project

CVE-2021-45687Raw-cpuid Project Raw-cpuid

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Dec 27, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Raw-cpuid.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io raw-cpuid ≥ 3.1.0 < 9.1.1 9.1.1 cargo update -p raw-cpuid --precise 9.1.1
crates.io raw-cpuid ≥ 3.1.0 < 9.1.1 9.1.1 cargo update -p raw-cpuid --precise 9.1.1
crates.io raw-cpuid ≥ 3.1.1-0 < 9.1.1 9.1.1 cargo update -p raw-cpuid --precise 9.1.1

Per OSV / GitHub Advisories (GHSA-jf5h-cf95-w759, GHSA-w428-f65r-h4q2, RUSTSEC-2021-0089). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
raw-cpuid_projectraw-cpuid< 9.1.1

Official sources

References

Links published by the sources. Open them with care.