Vulnerability · Published Nov 11, 2021 · Assigned by cloudflare
CVE-2021-3912OctoRPKI crashes when processing GZIP bomb returned via malicious repository
Medium 4.2
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.9% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.2Medium
Exploit odds (30 days)0.9%top 41.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
OctoRPKI tries to load the entire contents of a repository in memory, and in the case of a GZIP bomb, unzip it in memory, making it possible to create a repository that makes OctoRPKI run out of memory (and thus crash).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cfrpki | 1.4.0-1 | DEBIAN-CVE-2021-3912 |
| Go | github.com/cloudflare/cfrpki | 1.4.0 | GHSA-g9wh-3vrx-r7hg |
| Go | github.com/cloudflare/cfrpki | 1.4.0 | GO-2022-0253 |
| Ubuntu:22.04:LTS | cfrpki | 1.4.2-1 | UBUNTU-CVE-2021-3912 |
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:H/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g9wh-3vrx-r7hg x_refsource_MISC
- DSA-5041 vendor-advisory, x_refsource_DEBIAN