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 | Aug 7, 2025 |
Severity
6
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:P)
Published
Aug 7, 2021
Added
Nov 19, 2024
Modified
Aug 7, 2025
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
- URL-https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
- URL-https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html
- URL-https://github.com/rust-lang/rust/issues/83648
- URL-https://github.com/rust-lang/rust/pull/83652
- URL-https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md
- URL-https://www.cve.org/CVERecord?id=CVE-2021-29922
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.