{"id":"CVE-2021-3908","aliases":["GHSA-g5gj-9ggf-9vmq","GO-2022-0249"],"title":"Infinite certificate chain depth results in OctoRPKI running forever","summary":"Infinite certificate chain depth results in OctoRPKI running forever","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","vendor":"cloudflare","product":"github.com/cloudflare/cfrpki","ecosystem":"go","affected":["github.com/cloudflare/cfrpki < 1.4.0"],"patched":["github.com/cloudflare/cfrpki 1.4.0"],"published":"2021-11-10","updated":"2026-07-08","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-g5gj-9ggf-9vmq","references":[{"url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g5gj-9ggf-9vmq"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3908"},{"url":"https://github.com/cloudflare/cfrpki"},{"url":"https://github.com/cloudflare/cfrpki/releases/tag/v1.4.0"},{"url":"https://www.debian.org/security/2022/dsa-5041"}],"tags":["osv","go"],"epss":0.00731,"epssPercentile":0.52828,"ingestedAt":"2026-07-09T18:56:36.367Z","slug":"CVE-2021-3908","body":"## Overview\n\nOctoRPKI (github.com/cloudflare/cfrpki/cmd/octorpki) does not limit the depth of a certificate chain, allowing for a CA to create children in an ad-hoc fashion, thereby making tree traversal never end.\n\n### For more information\nIf you have any questions or comments about this advisory email us at security@cloudflare.com \n\n\n## Affected packages\n\n- `github.com/cloudflare/cfrpki < 1.4.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/cloudflare/cfrpki 1.4.0`","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":32.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}