LiveActive security incident?Get immediate response
CVE Record

CVE-2021-45687: An issue was discovered in the raw-cpuid crate before 9.1.1 for Rust.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This affects Rust applications using the raw-cpuid crate before 9.1.1 only when the non-default serialize feature is enabled. A deserialization path may not validate data enough, causing a crash or memory corruption. Exposure appears narrow, but affected critical services should upgrade promptly.

Executive priority

Treat this as a targeted dependency hygiene issue, not an enterprise-wide emergency based on current evidence. Prioritize systems where Rust services use raw-cpuid with serialize enabled and process untrusted serialized data.

Technical view

CVE-2021-45687 is a validation flaw in raw-cpuid Deserialize handling when the serialize feature is enabled. The source describes possible memory corruption or panic. The affected range is before 9.1.1. No CVSS, CWE, exploit status, or detailed attack preconditions are provided.

Likely exposure

Likely limited to Rust projects that depend on raw-cpuid before 9.1.1 and enable the serialize feature. The bundle states this feature is not the default. Projects using default features only, or version 9.1.1 or later, are not indicated as affected by the supplied sources.

Exploitation context

The supplied sources do not show active exploitation, and KEV is false. Practical risk depends on whether an attacker can influence data passed into affected Deserialize operations. The public bundle does not define remote, local, privilege, or sandbox escape conditions.

Researcher notes

Evidence is sparse. The strongest facts are the affected version range, non-default feature condition, and possible memory corruption or panic. No exploit reports, CVSS vector, CWE, or operational workaround beyond upgrading or disabling serialize are provided in the bundle.

Mitigation direction

  • Upgrade raw-cpuid to version 9.1.1 or later.
  • Disable the serialize feature if it is not required.
  • Avoid deserializing untrusted raw-cpuid data until reviewed.
  • Check transitive dependencies for pinned vulnerable versions.
  • Monitor RustSec and CVE records for updated guidance.

Validation and detection

  • Inspect Cargo.lock for raw-cpuid versions before 9.1.1.
  • Confirm whether the serialize feature is enabled.
  • Review code paths that deserialize raw-cpuid types.
  • Check SBOMs for direct or transitive raw-cpuid usage.
  • Retest affected Rust services after dependency updates.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-45687 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.