# CVE-2021-3908: Infinite certificate chain depth results in OctoRPKI running forever

- Severity: Medium 5.9 (CVSS:3.1, scored by cloudflare) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2021-11-10T20:38:53.000Z
- Modified: 2026-07-08T06:28:05.541Z
- Also known as: GHSA-g5gj-9ggf-9vmq, GO-2022-0249
- Weaknesses: CWE-400, CWE-835
- Assigned by: cloudflare

## 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.

(As written by CVE List.)

## Affected

- Cloudflare octorpki: from unspecified before 1.4.0; before 1.3.0
- github.com/cloudflare/cfrpki (Go): before 1.4.0
- debian debian_linux: 11.0

## Every score

- cloudflare: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g5gj-9ggf-9vmq> (advisory, third-party-advisory, web)
- <https://www.debian.org/security/2022/dsa-5041> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3908> (advisory)
- <https://github.com/cloudflare/cfrpki> (package)
- <https://github.com/cloudflare/cfrpki/releases/tag/v1.4.0> (web)

## Sources

- CVE List: [CVE-2021-3908](https://www.cve.org/CVERecord?id=CVE-2021-3908), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-g5gj-9ggf-9vmq](https://github.com/advisories/GHSA-g5gj-9ggf-9vmq), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2022-0249](https://pkg.go.dev/vuln/GO-2022-0249), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-3908](https://nvd.nist.gov/vuln/detail/CVE-2021-3908), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3908 · Whole record: https://cve.day/CVE-2021-3908.json · Rebuilt by cve.day 2026-11-25T22:58:05.488Z
