{"id":"CVE-2021-3908","aliases":["DEBIAN-CVE-2021-3908","DSA-5041-1","EUVD-2021-2345","GHSA-g5gj-9ggf-9vmq","GO-2022-0249","UBUNTU-CVE-2021-3908"],"status":"published","title":"Infinite certificate chain depth results in OctoRPKI running forever","description":"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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00731,"percentile":0.54559,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400","CWE-835"],"published":"2021-11-10T20:38:53Z","modified":"2026-10-23T18:03:31Z","fixes":[{"ecosystem":"Go","package":"github.com/cloudflare/cfrpki","fixed_in":["1.4.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"cfrpki","fixed_in":["1.4.0-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/cloudflare/cfrpki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"cfrpki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"cfrpki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1~deb11u1"}]}],"versions":["1.2.2-1","1.3.0-1","1.4.0-1"],"bundled":10},{"source":"osv","ecosystem":"Go","package":"github.com/cloudflare/cfrpki","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/cloudflare/cfrpki","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}]}],"products":[{"vendor":"cloudflare","product":"octorpki"},{"vendor":"debian","product":"debian_linux"}],"references":[{"url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g5gj-9ggf-9vmq","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://www.debian.org/security/2022/dsa-5041","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3908","tags":["advisory"]},{"url":"https://github.com/cloudflare/cfrpki/releases/tag/v1.4.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g5gj-9ggf-9vmq"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3908","tags":["advisory"]},{"url":"https://github.com/cloudflare/cfrpki","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-3908","tags":["report"]},{"url":"https://github.com/cloudflare/cfrpki/commit/cb2ab377b9b7aeda966c6478a60f99b12ee8d759","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3908","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-3908","title":"Infinite certificate chain depth results in OctoRPKI running forever","description":"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.","status":"published","published":"2021-11-11T21:45:18.12Z","modified":"2024-09-16T23:21:31.088Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:33:04.020035Z"}],"euvd":[{"id":"EUVD-2021-2345","description":"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.","status":"published","published":"2021-11-11T21:45:18Z","modified":"2024-09-16T23:21:31Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T00:54:54.099071Z"}],"ghsa":[{"id":"GHSA-g5gj-9ggf-9vmq","title":"Infinite certificate chain depth results in OctoRPKI running forever","description":"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 \n","status":"published","published":"2021-11-10T20:38:53Z","modified":"2023-10-02T15:58:04Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400","CWE-835"],"updated_at":"2026-11-02T14:37:07.641671Z"}],"nvd":[{"id":"CVE-2021-3908","description":"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.","status":"published","published":"2021-11-11T22:15:07.877Z","modified":"2026-06-17T04:05:58.257Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400","CWE-835"],"updated_at":"2026-11-02T14:07:00.984108Z"}],"osv":[{"id":"CVE-2021-3908","description":"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.","status":"published","published":"2021-11-11T22:15:07.877Z","modified":"2026-10-20T10:54:52.683471303Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"DEBIAN-CVE-2021-3908","description":"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.","status":"published","published":"2021-11-11T22:15:07.877Z","modified":"2026-10-23T18:03:31.888098144Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"GHSA-g5gj-9ggf-9vmq","title":"Infinite certificate chain depth results in OctoRPKI running forever","description":"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 \n","status":"published","published":"2021-11-10T20:38:53Z","modified":"2026-07-08T06:28:05.541665796Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400","CWE-835"],"updated_at":"2026-11-02T15:46:47.472172Z"},{"id":"UBUNTU-CVE-2021-3908","description":"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.","status":"withdrawn","published":"2021-11-11T22:15:00Z","modified":"2025-07-16T07:43:06.324478Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"DSA-5041-1","title":"cfrpki - security update","status":"published","published":"2022-01-11T00:00:00Z","modified":"2026-03-09T02:10:29.476256Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"GO-2022-0249","title":"Infinite certificate chain depth results in OctoRPKI running forever in github.com/cloudflare/cfrpki","description":"Infinite certificate chain depth results in OctoRPKI running forever in github.com/cloudflare/cfrpki","status":"published","published":"2024-08-21T14:30:26Z","modified":"2026-03-03T04:52:05.068387Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
