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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-11-11 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2021-3908, DEBIAN-CVE-2021-3908, GHSA-g5gj-9ggf-9vmq, GO-2022-0249
- Record: https://cvemate.com/vulnerability/CVE-2021-3908 · JSON: https://cvemate.com/vulnerability/CVE-2021-3908/json

## Description

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

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.731%, percentile 55.652%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cloudflare octorpki: ≥ unspecified, \< 1.4.0 \| \< 1.3.0
- debian cfrpki (Debian): \< 1.4.0-1
- ubuntu cfrpki (Ubuntu): \< 1.4.2-1
- debian debian\_linux: 11.0
- github.com/cloudflare cfrpki (Go): \< 1.4.0

## References

- <https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g5gj-9ggf-9vmq>
- <https://www.debian.org/security/2022/dsa-5041>
- <https://ubuntu.com/security/CVE-2021-3908>
- <https://github.com/cloudflare/cfrpki/commit/cb2ab377b9b7aeda966c6478a60f99b12ee8d759>
- <https://www.cve.org/CVERecord?id=CVE-2021-3908>
- <https://security-tracker.debian.org/tracker/CVE-2021-3908>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3908>
- <https://github.com/cloudflare/cfrpki>
- <https://github.com/cloudflare/cfrpki/releases/tag/v1.4.0>

---

Data as of 2026-12-05T11:00:55.082Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
