CVE-2021-29922
Published: 7 August 2021
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.
Priority
Status
Package | Release | Status |
---|---|---|
rustc Launchpad, Ubuntu, Debian |
impish |
Ignored
(end of life)
|
jammy |
Released
(1.53.0+dfsg1+llvm-4ubuntu1)
|
|
lunar |
Not vulnerable
(1.61.0+dfsg1-1~exp1ubuntu1)
|
|
trusty |
Needed
|
|
upstream |
Released
(1.53.0)
|
|
bionic |
Not vulnerable
(1.53.0+dfsg1+llvm-4ubuntu1~18.04.1)
|
|
focal |
Released
(1.53.0+dfsg1+llvm-4ubuntu1~20.04.1)
|
|
hirsute |
Ignored
(end of life)
|
|
kinetic |
Ignored
(end of life, was needed)
|
|
xenial |
Needed
|
|
groovy |
Ignored
(end of life)
|
|
mantic |
Not vulnerable
(1.67.1+dfsg0ubuntu1-0ubuntu2)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.1 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=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
- NVD
- Launchpad
- Debian