CVE-2021-29922
Rust std Net Parser IP Address Zero Bypass
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.
INFO
Published Date :
Aug. 7, 2021, 5:15 p.m.
Last Modified :
Nov. 7, 2022, 4:36 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-29922 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-29922
.
URL | Resource |
---|---|
https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis | Third Party Advisory |
https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html | Vendor Advisory |
https://github.com/rust-lang/rust/issues/83648 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/rust-lang/rust/pull/83652 | Patch Third Party Advisory |
https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md | Exploit Third Party Advisory |
https://security.gentoo.org/glsa/202210-09 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
ipv4mix creates various mixed representations of a specified IPv4 address. It outputs the IP in different formats, including decimal, hexadecimal, octal, and their combinations, providing a versatile view of the address.
Dockerfile Go
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-29922
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-29922
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Nov. 07, 2022
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/202210-09 No Types Assigned https://security.gentoo.org/glsa/202210-09 Third Party Advisory -
CVE Modified by [email protected]
Oct. 16, 2022
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202210-09 [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 17, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H Changed Reference Type https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis No Types Assigned https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis Third Party Advisory Changed Reference Type https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html No Types Assigned https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html Vendor Advisory Changed Reference Type https://github.com/rust-lang/rust/issues/83648 No Types Assigned https://github.com/rust-lang/rust/issues/83648 Exploit, Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/rust-lang/rust/pull/83652 No Types Assigned https://github.com/rust-lang/rust/pull/83652 Patch, Third Party Advisory Changed Reference Type https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md No Types Assigned https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md Exploit, Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:* versions up to (excluding) 1.53.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-29922
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-29922
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.49 }} 0.06%
score
0.75915
percentile