{"answers":{"affected":"2 open source packages ship an affected version, including routinator. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-43172 in the wild and no public exploit code.","fix":"Upgrade routinator to 0.10.2 or later.","what":"CVE-2021-43172 is a high-severity denial of service vulnerability in NLnet Labs Routinator, published on 9 Nov 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-43172 and fix it if it is affected.\n\nWhat it is: CVE-2021-43172 is a high-severity denial of service vulnerability in NLnet Labs Routinator, published on 9 Nov 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-43172 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- routinator (crates.io): affected all versions; fixed in 0.10.2\n- routinator (crates.io): affected all versions; fixed in 0.10.2\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-43172/ (Markdown: https://insights.sbomify.com/CVE-2021-43172/index.md)","id":"CVE-2021-43172","markdown":"https://insights.sbomify.com/CVE-2021-43172/index.md","name":"CVE-2021-43172","record":{"aliases":["DEBIAN-CVE-2021-43172","GHSA-m3x9-623g-35c4","UBUNTU-CVE-2021-43172"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"RPKI validator","requires_auth":"none","summary":"A malicious CA can cause Routinator to hang indefinitely by creating an infinite chain of RRDP repositories, preventing validation completion.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NLnet Labs","cpe":[{"product":"routinator","vendor":"nlnetlabs"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"},{"id":"CWE-674","name":"Uncontrolled Recursion"}],"description":"NLnet Labs Routinator prior to 0.10.2 happily processes a chain of RRDP repositories of infinite length causing it to never finish a validation run. In RPKI, a CA can choose the RRDP repository it wishes to publish its data in. By continuously generating a new child CA that only consists of another CA using a different RRDP repository, a malicious CA can create a chain of CAs of de-facto infinite length. Routinator prior to version 0.10.2 did not contain a limit on the length of such a chain and will therefore continue to process this chain forever. As a result, the validation run will never finish, leading to Routinator continuing to serve the old data set or, if in the initial validation run directly after starting, never serve any data at all.","ecosystems":["crates.io"],"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":"Infinite length chain of RRDP repositories","id":"CVE-2021-43172","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"denial_of_service","year":"2021"},"n_packages":2,"n_references":1,"next":{"headline":"Hanging RRDP request","id":"CVE-2021-43173"},"packages":[{"ecosystem":"crates.io","fixed":["0.10.2"],"introduced":["0"],"last_affected":[],"package":"routinator","purl":null,"source":"GHSA-m3x9-623g-35c4"},{"ecosystem":"crates.io","fixed":["0.10.2"],"introduced":["0"],"last_affected":[],"package":"routinator","purl":"pkg:cargo/routinator","source":"GHSA-m3x9-623g-35c4"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2021-43171"},"products":["Routinator"],"published":"2021-11-09","related":[{"cvss_score":9.3,"headline":"Possible path traversal when storing RRDP responses","id":"CVE-2023-39916","kev_date_added":null,"published":"2023-09-13"},{"cvss_score":8.7,"headline":"Routinator crashes on specifically crafted RRDP XML files","id":"CVE-2026-49235","kev_date_added":null,"published":"2026-06-08"},{"cvss_score":8.3,"headline":"Routinator cache path traversal using rogue rsync URIs","id":"CVE-2026-49233","kev_date_added":null,"published":"2026-06-08"},{"cvss_score":8.2,"headline":"Routinator crashes on specifically crafted ASN strings in the API","id":"CVE-2026-49234","kev_date_added":null,"published":"2026-06-08"},{"cvss_score":7.5,"headline":"Crashes on parsing certain invalid RPKI objects","id":"CVE-2023-39915","kev_date_added":null,"published":"2023-09-13"},{"cvss_score":7.5,"headline":"Fatal error on incorrect base64 data in RRDP","id":"CVE-2022-3029","kev_date_added":null,"published":"2022-09-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["NLnet Labs"]},"summary":"A malicious CA can cause Routinator to hang indefinitely by creating an infinite chain of RRDP repositories, preventing validation completion.","url":"https://insights.sbomify.com/CVE-2021-43172/"}