Unsound CPUID Instruction Support in raw-cpuid Crate

Unsound CPUID Instruction Support in raw-cpuid Crate

CVE-2021-26307 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.