{"id":"CVE-2021-3908","aliases":["CVE-2021-3908","GHSA-g5gj-9ggf-9vmq","GO-2022-0249"],"related":[],"kind":"vulnerability","state":"published","title":"Infinite certificate chain depth results in OctoRPKI running forever","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"OctoRPKI (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","format":"markdown","source":"ghsa"},{"lang":"en","text":"Infinite certificate chain depth results in OctoRPKI running forever in github.com/cloudflare/cfrpki","format":"markdown","source":"go"},{"lang":"es","text":"OctoRPKI no limita la profundidad de una cadena de certificados, permitiendo que una CA cree hijos de forma ad-hoc, haciendo que el recorrido del árbol nunca termine","source":"nvd"}],"published":"2021-11-10T20:38:53.000Z","modified":"2026-07-08T06:28:05.541Z","severity":{"scorer":"cloudflare","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"cloudflare","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-835"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.4.0","status":"affected"}],"vendor":"Cloudflare","product":"octorpki","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"Go","package":"github.com/cloudflare/cfrpki","purl":"pkg:golang/github.com/cloudflare/cfrpki","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"Go","package":"github.com/cloudflare/cfrpki","purl":"pkg:golang/github.com/cloudflare/cfrpki","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.0"}],"vendor":"cloudflare","product":"octorpki","cpe":"cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g5gj-9ggf-9vmq","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.debian.org/security/2022/dsa-5041","tags":["third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3908","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/cloudflare/cfrpki","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/cloudflare/cfrpki/releases/tag/v1.4.0","tags":["web"],"sources":["ghsa","go"]}],"credits":["Koen van Hove"],"assigner":"cloudflare","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3908","url":"https://www.cve.org/CVERecord?id=CVE-2021-3908","licence":"CVE Terms of Use","modified":"2024-09-16T23:21:31.088Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g5gj-9ggf-9vmq","url":"https://github.com/advisories/GHSA-g5gj-9ggf-9vmq","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:05.541Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0249","url":"https://pkg.go.dev/vuln/GO-2022-0249","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:05.068Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3908","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3908","licence":"Public domain","modified":"2026-06-17T04:05:58.257Z"}],"updatedAt":"2026-11-25T22:58:05.488Z","epss":{"score":0.00731,"percentile":0.5551,"date":"2026-12-01T12:00:22.000Z"}}