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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-29906IBM App Connect Enterprise Certified Container 1.0, 1.1, 1.2…5.5
- CVE-2021-29907IBM OpenPages with Watson 8.1 and 8.2 could allow an authent…8.8
- CVE-2021-29908The IBM TS7700 Management Interface is vulnerable to unauthe…9.8
- CVE-2021-29912IBM Security Risk Manager on CP4S 1.7.0.0 is vulnerable to c…5.4
- CVE-2021-29913 IBM Security Verify Privilege On-Premise 11.5 could allow a…7.1
- CVE-2021-29921In Python before 3,9,5, the ipaddress library mishandles lea…9.8
- CVE-2021-29923Go before 1.17 does not properly consider extraneous zero ch…7.5
- CVE-2021-29929An issue was discovered in the endian_trait crate through 20…7.5
- CVE-2021-29930An issue was discovered in the arenavec crate through 2021-0…7.5
- CVE-2021-29931An issue was discovered in the arenavec crate through 2021-0…7.5
- CVE-2021-29932An issue was discovered in the parse_duration crate through …7.5
- CVE-2021-29933An issue was discovered in the insert_many crate through 202…7.5
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
