CVE-2021-29922

CRITICALCVSS 9.1/10EPSS 2.62%

Last modified

CVE-2021-29922 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.. EPSS estimates a 2.62% chance of exploitation in the next 30 days.

Description

library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.

Metrics

CVSS 3.1
9.1/10

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

EPSS Probability
2.62%

83.5th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersions
Rust-LangRust< 1.53.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-29922?
library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.
How severe is CVE-2021-29922?
CVE-2021-29922 has a CVSS score of 9.1/10 (CRITICAL severity). The EPSS model estimates a 2.62% probability of exploitation in the next 30 days.
How do I fix CVE-2021-29922?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-29922?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST