CVE-2021-29922
Title: IP address parsing bypass in Rust std net parser
Access Control Bypass
Proof Of Concept
No public PoC currently indexed for CVE-2021-29922.
CWE Category
NVD-CWE-noinfo
Published Date
Aug 07, 2021
Modified Date
Nov 21, 2024
Exploit Status
Not Found
Score
9.1
CVSS v3.1
Exploit Probability (EPSS)
0.34%
Vulnerability Summary
CVE-2021-29922: 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.
Impacted Vendors
Reference Links
https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html
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://security.gentoo.org/glsa/202210-09
https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis
https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html
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://security.gentoo.org/glsa/202210-09
CVSS v3.1
Source Entity
[email protected]
Severity
CRITICAL
9.1
Attack Vector
NETWORK
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v2.0
Source Entity
[email protected]
Severity
MEDIUM
6.4
Access Vector
N/A
Authentication
N/A
RAW VECTOR
AV:N/AC:L/Au:N/C:N/I:P/A:P
Associated Attack Patterns (CAPEC)
Total: PatternsNo specific attack patterns mapped.
Likelihood
Severity
Page /
CVE-2021-29922 Exploits & PoCs (Proof Of Concept)
No public PoCs found in our database for this CVE.
MODIFIED
Vulnerability data or affected products updated.
PUBLISHED
Vulnerability first announced in NVD.
Attack Vector Matrix
Access Vector
NETWORK
Complexity
LOW
Privileges
N/A
Interaction
NONE
CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected Stack
No specific products linked.