GitHub Advisoryadvisory · crates.io
GHSA-w428-f65r-h4q2 Deserialization of Untrusted Data in rust-cpuid
CRITICAL
Official page ↗
- Aliases
- CVE-2021-45687
- Ecosystem
- crates.io
- Packages
- raw-cpuid
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502
- Reviewed
- 2022-01-06
Affected packages
• crates.io raw-cpuid: >= 3.1.0, < 9.1.1 → fixed in 9.1.1
Description
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.
Related
Alias · CVE (1)
- CVE-2021-45687 An issue was discovered in the raw-cpuid crate before 9.1.1 for Rust. vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness