CVE-2021-29922
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/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rust-Lang | Rust | < 1.53.0 |
References
- https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudisThird Party Advisory
- https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.htmlVendor Advisory
- https://github.com/rust-lang/rust/issues/83648Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/rust-lang/rust/pull/83652Patch, Third Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.mdExploit, Third Party Advisory
- https://security.gentoo.org/glsa/202210-09Third Party Advisory
- https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudisThird Party Advisory
- https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.htmlVendor Advisory
- https://github.com/rust-lang/rust/issues/83648Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/rust-lang/rust/pull/83652Patch, Third Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.mdExploit, Third Party Advisory
- https://security.gentoo.org/glsa/202210-09Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-29922?
How severe is CVE-2021-29922?
How do I fix CVE-2021-29922?
Are you affected by CVE-2021-29922?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
