{"answers":{"affected":"3 open source packages ship an affected version, including github.com/cloudflare/cfrpki. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-3616 in the wild and no public exploit code.","fix":"Upgrade github.com/cloudflare/cfrpki to 1.4.4 or later.","what":"CVE-2022-3616 is a medium-severity denial of service vulnerability in Cloudflare OctoRPKI, published on 28 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-3616 and fix it if it is affected.\n\nWhat it is: CVE-2022-3616 is a medium-severity denial of service vulnerability in Cloudflare OctoRPKI, published on 28 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-3616 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cloudflare/cfrpki (Go): affected all versions; fixed in 1.4.4\n- github.com/cloudflare/cfrpki (Go): affected all versions; fixed in 1.4.4\n- github.com/cloudflare/cfrpki (Go): affected all versions; fixed in 1.4.4\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-2022-3616/ (Markdown: https://insights.sbomify.com/CVE-2022-3616/index.md)","id":"CVE-2022-3616","markdown":"https://insights.sbomify.com/CVE-2022-3616/index.md","name":"CVE-2022-3616","record":{"aliases":["DEBIAN-CVE-2022-3616","GHSA-pmw9-567p-68pc","GO-2022-1089","UBUNTU-CVE-2022-3616"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"RPKI validation tool","requires_auth":"low_privilege","summary":"Attackers can cause OctoRPKI to crash by submitting long CA chains, resulting in a denial of service for RPKI validation.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cloudflare","cpe":[{"product":"octorpki","vendor":"cloudflare"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-834","name":"Excessive Iteration"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"description":"Attackers can create long chains of CAs that would lead to OctoRPKI exceeding its max iterations parameter. In consequence it would cause the program to crash, preventing it from finishing the validation and leading to a denial of service. Credits to Donika Mirdita and Haya Shulman - Fraunhofer SIT, ATHENE, who discovered and reported this vulnerability.","ecosystems":["Go"],"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":"OctoRPKI crash when maximum iterations number is reached","id":"CVE-2022-3616","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":3,"n_references":1,"next":{"headline":"Spacer \u003c 3.0.7 - Admin+ Stored XSS","id":"CVE-2022-3618"},"packages":[{"ecosystem":"Go","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/cfrpki","purl":null,"source":"GHSA-pmw9-567p-68pc"},{"ecosystem":"Go","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/cfrpki","purl":"pkg:golang/github.com/cloudflare/cfrpki","source":"GHSA-pmw9-567p-68pc"},{"ecosystem":"Go","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"github.com/cloudflare/cfrpki","purl":"pkg:golang/github.com/cloudflare/cfrpki","source":"GO-2022-1089"}],"prev":{"headline":"Open redirect in Octopus Server","id":"CVE-2022-3614"},"products":["OctoRPKI"],"published":"2022-10-28","related":[{"cvss_score":7.5,"headline":"Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki","id":"CVE-2021-3978","kev_date_added":null,"published":"2025-01-29"},{"cvss_score":7.5,"headline":"OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values","id":"CVE-2021-3761","kev_date_added":null,"published":"2021-09-09"},{"cvss_score":7.4,"headline":"Arbitrary filepath traversal via URI injection","id":"CVE-2021-3907","kev_date_added":null,"published":"2021-11-11"},{"cvss_score":5.9,"headline":"Infinite certificate chain depth results in OctoRPKI running forever","id":"CVE-2021-3908","kev_date_added":null,"published":"2021-11-11"},{"cvss_score":4.4,"headline":"Infinite open connection causes OctoRPKI to hang forever","id":"CVE-2021-3909","kev_date_added":null,"published":"2021-11-11"},{"cvss_score":4.4,"headline":"NUL character in ROA causes OctoRPKI to crash","id":"CVE-2021-3910","kev_date_added":null,"published":"2021-11-11"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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-05-05","vendors":["Cloudflare"]},"summary":"Attackers can cause OctoRPKI to crash by submitting long CA chains, resulting in a denial of service for RPKI validation.","url":"https://insights.sbomify.com/CVE-2022-3616/"}