Vulnerability 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 Score
CRITICAL
Affected Products
| 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/83648ExploitIssue TrackingPatch
- https://github.com/rust-lang/rust/pull/83652PatchThird Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.mdExploitThird 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/83648ExploitIssue TrackingPatch
- https://github.com/rust-lang/rust/pull/83652PatchThird Party Advisory
- https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.mdExploitThird Party Advisory
- https://security.gentoo.org/glsa/202210-09Third Party Advisory
FAQ
What is CVE-2021-29922?
CVE-2021-29922 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 bypas...
How severe is CVE-2021-29922?
CVE-2021-29922 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-29922?
Check the references section above for vendor advisories and patch information. Affected products include: Rust-Lang Rust.