Security mailing lists by PureSourceCode

CVE-2021-45687

CRITICAL 9.8CVSS 3.1

Optional `Deserialize` implementations lacking validation

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.

Published
27 Dec 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20CWE-502
Also known as
GHSA-jf5h-cf95-w759GHSA-w428-f65r-h4q2RUSTSEC-2021-0089
Sources
NVDJSONOSV GHSA-jf5h-cf95-w759JSONOSV GHSA-w428-f65r-h4q2JSONOSV RUSTSEC-2021-0089JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD raw-cpuid_project raw-cpuid
cpe:2.3:a:raw-cpuid_project:raw-cpuid:*:*:*:*:*:rust:*:*
< 9.1.1 9.1.1
OSV crates.io raw-cpuid >= 3.1.0, < 9.1.1 9.1.1
OSV crates.io raw-cpuid >= 3.1.1-0, < 9.1.1 9.1.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jan 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.