CVE-2021-26307 Error on unsupported architectures in raw-cpuid
MediumCVSS 5.5
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An issue was discovered in the raw-cpuid crate before 9.0.0 for Rust. It allows __cpuid_count() calls even if the processor does not support the CPUID instruction, which is unsound and causes a deterministic crash.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io raw-cpuid(crates.io) | < 9.0.0 | 9.0.0 | Fixed |
| raw-cpuid project raw-cpuid | < 9.0.0 | 9.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io raw-cpuid(crates.io) | < 9.0.0 | 9.0.0 |
| raw-cpuid project raw-cpuid | < 9.0.0 | 9.0.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com patch
- rustsec.org exploit vendor-advisory
- github.com patch
- github.com
- github.com
- github.com product