Vulnerability · Published Nov 11, 2021 · Assigned by cloudflare
CVE-2021-3908Infinite certificate chain depth results in OctoRPKI running forever
Medium 5.9
In plain English
A medium-severity uncontrolled resource consumption in octorpki from Cloudflare. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.7%top 45.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cfrpki | 1.4.0-1 | DEBIAN-CVE-2021-3908 |
| Go | github.com/cloudflare/cfrpki | 1.4.0 | GO-2022-0249 |
| Go | github.com/cloudflare/cfrpki | 1.4.0 | GHSA-g5gj-9ggf-9vmq |
| Ubuntu:22.04:LTS | cfrpki | 1.4.2-1 | UBUNTU-CVE-2021-3908 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Cloudflare | octorpki | unspecified – before 1.4.0 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g5gj-9ggf-9vmq x_refsource_MISC
- DSA-5041 vendor-advisory, x_refsource_DEBIAN