Back
CVE-2021-29922library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP…
- 9.1CriticalCVSS base score
- 2.5%Exploitation in 30 daysEPSS · top 15% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 4 months later
· 4 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.5% · top 15% of all CVEs (16 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Affected products
n/a
- affected n/a
References
References6
- https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html (opens in a new tab)x_transferred
- https://github.com/rust-lang/rust/pull/83652 (opens in a new tab)x_transferred
- https://github.com/rust-lang/rust/issues/83648 (opens in a new tab)x_transferred
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md (opens in a new tab)x_transferred
- https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis (opens in a new tab)x_transferred
- GLSA-202210-09 (opens in a new tab)vendor-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-16396 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-29922)Record last updated .