{"id":"CVE-2021-29922","aliases":["CVE-2021-29922"],"related":[],"kind":"vulnerability","state":"published","title":"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…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El archivo library/std/src/net/parser.rs en Rust versiones anteriores a 1.53.0, no considera apropiadamente los caracteres cero extraños al principio de una cadena de direcciones IP, lo que (en algunas situaciones) permite a atacantes omitir el control de acceso que es basado en las direcciones IP, debido a una interpretación octal inesperada","source":"nvd"}],"published":"2021-08-07T00:00:00.000Z","modified":"2026-06-17T03:48:27.207Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","score":6.4,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.53.0"}],"vendor":"rust-lang","product":"rust","cpe":"cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://doc.rust-lang.org/beta/std/net/struct.Ipv4Addr.html","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/rust-lang/rust/pull/83652","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/rust-lang/rust/issues/83648","tags":["exploit","issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-015.md","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://defcon.org/html/defcon-29/dc-29-speakers.html#kaoudis","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202210-09","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29922","url":"https://www.cve.org/CVERecord?id=CVE-2021-29922","licence":"CVE Terms of Use","modified":"2024-08-03T22:18:03.280Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29922","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29922","licence":"Public domain","modified":"2026-06-17T03:48:27.207Z"}],"updatedAt":"2026-11-25T22:58:03.049Z","epss":{"score":0.02452,"percentile":0.84834,"date":"2026-12-01T12:00:22.000Z"}}