4.2medium
OctoRPKI crashes when processing GZIP bomb returned via malicious repository
- Severity
- 4.2medium CVSS:3.1 by cloudflare
- Exploit likelihood
- 0.85% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- cloudflare
- Also known as
- GHSA-g9wh-3vrx-r7hgGO-2022-0253
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
| Product or package | Versions | Reported by |
|---|---|---|
| Cloudflare octorpki | from unspecified before 1.4.0, before 1.3.0 | CVE List, NVD |
| github.com/cloudflare/cfrpki (Go) | before 1.4.0 | GitHub Advisory Database, Go Vulnerability Database |
| debian debian_linux | 11.0 | NVD |
All scores
| cloudflare | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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).
GitHub Advisory Database
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).
Patches
For more information
If you have any questions or comments about this advisory email us at security@cloudflare.com
Go Vulnerability Database
The HTTPFetcher.GetXML function reads a response of unlimited size into memory, permitting resource exhaustion.
NVD (es)
OctoRPKI intenta cargar todo el contenido de un repositorio en memoria, y en el caso de una bomba GZIP, descomprimirlo en memoria, haciendo posible crear un repositorio que hace que OctoRPKI se quede sin memoria (y por tanto se bloquee)
References
| https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g9wh-3vrx-r7hg | 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-3912 | advisory | |
| https://github.com/cloudflare/cfrpki/commit/648658b1b176a747b52645989cfddc73a81eacad | fix, web | |
| https://pkg.go.dev/vuln/GO-2022-0253 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3912 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g9wh-3vrx-r7hg changed 2026-07-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0253 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2021-3912 changed 2026-06-17 | Public domain |