{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-29922 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-29922 is a critical vulnerability in n/a, published on 7 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-29922 and fix it if it is affected.\n\nWhat it is: CVE-2021-29922 is a critical vulnerability in n/a, published on 7 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-29922 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-29922/ (Markdown: https://insights.sbomify.com/CVE-2021-29922/index.md)","id":"CVE-2021-29922","markdown":"https://insights.sbomify.com/CVE-2021-29922/index.md","name":"CVE-2021-29922","record":{"aliases":["ALPINE-CVE-2021-29922","ALSA-2021:4270","CLEANSTART-2026-WP37702","DEBIAN-CVE-2021-29922","GHSA-g9v3-gh27-qjh3","OESA-2021-1323","RHSA-2021:4270","RLSA-2021:4270","UBUNTU-CVE-2021-29922"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust standard library","requires_auth":"none","summary":"Attackers can bypass IP-based access controls by using leading zeros in IP strings, affecting applications using the Rust standard library.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"rust","vendor":"rust-lang"}],"cvss":{"score":9.1,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[],"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Rocky Linux:8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Security feature bypass in n/a","id":"CVE-2021-29922","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2021"},"n_packages":24,"n_references":6,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2021-29923"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.54.0-1.module_el8.5.0+2599+d655d86c"],"introduced":["0"],"last_affected":[],"package":"rust-toolset","purl":"pkg:rpm/almalinux/rust-toolset","source":"ALSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"cargo","purl":"pkg:rpm/redhat/cargo","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"cargo-debuginfo","purl":"pkg:rpm/redhat/cargo-debuginfo","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"cargo-doc","purl":"pkg:rpm/redhat/cargo-doc","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"clippy","purl":"pkg:rpm/redhat/clippy","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"clippy-debuginfo","purl":"pkg:rpm/redhat/clippy-debuginfo","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rls","purl":"pkg:rpm/redhat/rls","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rls-debuginfo","purl":"pkg:rpm/redhat/rls-debuginfo","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust","purl":"pkg:rpm/redhat/rust","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-analysis","purl":"pkg:rpm/redhat/rust-analysis","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-debugger-common","purl":"pkg:rpm/redhat/rust-debugger-common","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-debuginfo","purl":"pkg:rpm/redhat/rust-debuginfo","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-debugsource","purl":"pkg:rpm/redhat/rust-debugsource","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-doc","purl":"pkg:rpm/redhat/rust-doc","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-gdb","purl":"pkg:rpm/redhat/rust-gdb","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-lldb","purl":"pkg:rpm/redhat/rust-lldb","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-src","purl":"pkg:rpm/redhat/rust-src","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-std-static","purl":"pkg:rpm/redhat/rust-std-static","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rust-std-static-wasm32-unknown-unknown","purl":"pkg:rpm/redhat/rust-std-static-wasm32-unknown-unknown","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-1.module+el8.5.0+12195+effd8a03"],"introduced":["0"],"last_affected":[],"package":"rust-toolset","purl":"pkg:rpm/redhat/rust-toolset","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rustfmt","purl":"pkg:rpm/redhat/rustfmt","source":"RHSA-2021:4270"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.54.0-2.module+el8.5.0+12254+dc27bae9"],"introduced":["0"],"last_affected":[],"package":"rustfmt-debuginfo","purl":"pkg:rpm/redhat/rustfmt-debuginfo","source":"RHSA-2021:4270"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.54.0-2.module+el8.5.0+678+cf7bc64b"],"introduced":["0"],"last_affected":[],"package":"rust","purl":"pkg:rpm/rocky-linux/rust?distro=rocky-linux-8-5-legacy\u0026epoch=0","source":"RLSA-2021:4270"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.54.0-1.module+el8.5.0+678+cf7bc64b"],"introduced":["0"],"last_affected":[],"package":"rust-toolset","purl":"pkg:rpm/rocky-linux/rust-toolset?distro=rocky-linux-8-5-legacy\u0026epoch=0","source":"RLSA-2021:4270"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2021-29921"},"products":["n/a"],"published":"2021-08-07","related":[{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-36318","kev_date_added":null,"published":"2021-04-11"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2018-1000810","kev_date_added":null,"published":"2018-10-08"},{"cvss_score":8.2,"headline":"Rust OS Command Injection/Argument Injection vulnerability","id":"CVE-2024-43402","kev_date_added":null,"published":"2024-09-04"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2018-1000657","kev_date_added":null,"published":"2018-08-20"},{"cvss_score":7.8,"headline":"Other in n/a","id":"CVE-2018-1000622","kev_date_added":null,"published":"2018-07-09"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2015-20001","kev_date_added":null,"published":"2021-04-11"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can bypass IP-based access controls by using leading zeros in IP strings, affecting applications using the Rust standard library.","url":"https://insights.sbomify.com/CVE-2021-29922/"}