UBUNTU-CVE-2021-29922
Dashboard / Vulnerabilities / UBUNTU-CVE-2021-29922
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2021-29922, 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://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html, https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis, https://www.cve.org/CVERecord?id=CVE-2021-29922
Affected packages
Package
Name: rustc
Purl: pkg:deb/ubuntu/[email protected]+dfsg1+llvm-2ubuntu1~14.04.1ubuntu1?arch=source&distro=trusty/esm
Affected ranges
Type: ECOSYSTEM
Events:
