CVE-2021-45687 Deserialization of Untrusted Data in rust-cpuid
CriticalCVSS 9.8
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io raw-cpuid(crates.io) | >= 3.1.0, < 9.1.1; >= 3.1.1-0, < 9.1.1 | 9.1.1 | Fixed |
| raw-cpuid project raw-cpuid | < 9.1.1 | 9.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io raw-cpuid(crates.io) | >= 3.1.0, < 9.1.1 | 9.1.1 |
| crates.io raw-cpuid(crates.io) | >= 3.1.1-0, < 9.1.1 | 9.1.1 |
| raw-cpuid project raw-cpuid | < 9.1.1 | 9.1.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- raw.githubusercontent.com third-party-advisory
- rustsec.org third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com
- github.com product
- crates.io product