Skip to content

Deserialization of Untrusted Data in rust-cpuid

Critical severity GitHub Reviewed Published Jan 6, 2022 to the GitHub Advisory Database • Updated Jun 13, 2023

Package

cargo raw-cpuid (Rust)

Affected versions

>= 3.1.0, < 9.1.1

Patched versions

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.

References

Published by the National Vulnerability Database Dec 27, 2021
Reviewed Jan 6, 2022
Published to the GitHub Advisory Database Jan 6, 2022
Last updated Jun 13, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2021-45687

GHSA ID

GHSA-w428-f65r-h4q2

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.