{"answers":{"affected":"2 open source packages ship an affected version, including routinator. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-39916 in the wild and no public exploit code.","fix":"Upgrade routinator to 0.12.2 or later.","what":"CVE-2023-39916 is a critical path traversal vulnerability in NLnet Labs Routinator, published on 13 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-39916 and fix it if it is affected.\n\nWhat it is: CVE-2023-39916 is a critical path traversal vulnerability in NLnet Labs Routinator, published on 13 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-39916 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- routinator (crates.io): affected from 0.9.0; fixed in 0.12.2\n- routinator (crates.io): affected from 0.9.0; fixed in 0.12.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-2023-39916/ (Markdown: https://insights.sbomify.com/CVE-2023-39916/index.md)","id":"CVE-2023-39916","markdown":"https://insights.sbomify.com/CVE-2023-39916/index.md","name":"CVE-2023-39916","record":{"aliases":["GHSA-5rxf-fqch-7vqp"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"RPKI validator","requires_auth":"none","summary":"Attackers can write files outside the intended directory via crafted URLs when the optional RRDP response storage feature is enabled.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NLnet Labs","cpe":[{"product":"routinator","vendor":"nlnetlabs"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-35","name":"Path Traversal: '.../...//'"}],"description":"NLnet Labs’ Routinator 0.9.0 up to and including 0.12.1 as well as 0.14.0 up to and including 0.14.2 contains a possible path traversal vulnerability in the optional, off-by-default keep-rrdp-responses feature that allows users to store the content of responses received for RRDP requests. The location of these stored responses is constructed from the URL of the request. Due to insufficient sanitation of the URL, it is possible for an attacker to craft a URL that results in the response being stored outside of the directory specified for it.","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":"Possible path traversal when storing RRDP responses","id":"CVE-2023-39916","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":2,"n_references":1,"next":{"headline":"WordPress Photo Gallery by Ays Plugin \u003c= 5.2.6 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2023-39917"},"packages":[{"ecosystem":"crates.io","fixed":["0.12.2"],"introduced":["0.9.0"],"last_affected":[],"package":"routinator","purl":null,"source":"GHSA-5rxf-fqch-7vqp"},{"ecosystem":"crates.io","fixed":["0.12.2"],"introduced":["0.9.0"],"last_affected":[],"package":"routinator","purl":"pkg:cargo/routinator","source":"GHSA-5rxf-fqch-7vqp"}],"prev":{"headline":"Crashes on parsing certain invalid RPKI objects","id":"CVE-2023-39915"},"products":["Routinator"],"published":"2023-09-13","related":[{"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"},{"cvss_score":7.5,"headline":"Infinite length chain of RRDP repositories","id":"CVE-2021-43172","kev_date_added":null,"published":"2021-11-09"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-03","vendors":["NLnet Labs"]},"summary":"Attackers can write files outside the intended directory via crafted URLs when the optional RRDP response storage feature is enabled.","url":"https://insights.sbomify.com/CVE-2023-39916/"}