OctoRPKI crashes when processing GZIP bomb returned via malicious repository
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Cloudflare | octorpki | before 1.4.0 | 1.4.0 | Patch available | CNA |
| — | github.com/cloudflare/cfrpki (Go) | before 1.4.0 | 1.4.0 | Patch available | GHSA-g9wh-3vrx-r7hg |
- octorpki VendorCloudflare Affected before 1.4.0 Fixed in 1.4.0 Patch available CNA
- github.com/cloudflare/cfrpki (Go) Vendor— Affected before 1.4.0 Fixed in 1.4.0 Patch available GHSA-g9wh-3vrx-r7hg
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:* | before 1.3.0 | Vulnerable | Cloudflare |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
- cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:* Versions before 1.3.0 Vulnerable ·Cloudflare
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
- Fix · CNA octorpki (Cloudflare) Fixed in 1.4.0
- Fix · GHSA-g9wh-3vrx-r7hg github.com/cloudflare/cfrpki (Go) Fixed in 1.4.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Cloudflare octorpki 1.4.0
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2021-02820 NUL character in ROA causes OctoRPKI to crashPriority LOW 35
- TI-2021-02818 Infinite certificate chain depth results in OctoRPKI running foreverPriority LOW 34
- TI-2021-02821 Misconfigured IP address field in ROA leads to OctoRPKI crashPriority LOW 31
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3912
- 2026-10-03 Alias added: GHSA-g9wh-3vrx-r7hg
References
More Cloudflare Octorpki vulnerabilities
- TI-2021-02817 Arbitrary filepath traversal via URI injection CVSS 3.1CRITICAL 9.8
- TI-2021-02819 Infinite open connection causes OctoRPKI to hang forever CVSS 3.1HIGH 7.5
- TI-2021-02820 NUL character in ROA causes OctoRPKI to crash CVSS 3.1HIGH 7.5
- TI-2021-02693 OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values CVSS 3.1HIGH 7.5
- TI-2021-02875 Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki CVSS 3.1HIGH 7.5
- TI-2021-02818 Infinite certificate chain depth results in OctoRPKI running forever CVSS 3.1HIGH 7.5
Sources
- CVE-2021-3912 · CVE Program
- CVE-2021-3912 · NVD
- FIRST EPSS
- GHSA-g9wh-3vrx-r7hg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences