CVE-2021-29922
CRITICAL
Published Aug 7, 20214y ago · Modified Jun 17, 20262w ago
9.1 CVSS 3.1
Published Aug 7, 2021 4y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| rust-lang | rust | * | <1.53.0 |
References 6
- defcon.org https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
- doc.rust-lang.org https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html
- github.com https://github.com/rust-lang/rust/issues/83648
- github.com https://github.com/rust-lang/rust/pull/83652
- github.com https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md
- security.gentoo.org https://security.gentoo.org/glsa/202210-09
Remediation
- github.com https://github.com/rust-lang/rust/issues/83648
- github.com https://github.com/rust-lang/rust/pull/83652