vulnerability
Ubuntu: (CVE-2021-29922): rustc vulnerability
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 6 | (AV:N/AC:L/Au:N/C:N/I:P/A:P) | Aug 7, 2021 | Nov 19, 2024 | Apr 16, 2026 |
Severity
6
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:P)
Published
Aug 7, 2021
Added
Nov 19, 2024
Modified
Apr 16, 2026
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.
Solution
ubuntu-upgrade-rustc
References
- CVE-2021-29922
- https://attackerkb.com/topics/CVE-2021-29922
- EUVD-EUVD-2021-16396
- https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
- https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-16396
- https://github.com/rust-lang/rust/issues/83648
- https://github.com/rust-lang/rust/pull/83652
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md
- https://www.cve.org/CVERecord?id=CVE-2021-29922
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.