CVE-2021-3912
JSON

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 packageVersionsReported by
Cloudflare octorpkifrom unspecified before 1.4.0, before 1.3.0CVE List, NVD
github.com/cloudflare/cfrpki (Go)before 1.4.0GitHub Advisory Database, Go Vulnerability Database
debian debian_linux11.0NVD

All scores

cloudflare4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
GitHub4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-3912 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-g9wh-3vrx-r7hg changed 2026-07-08CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0253 changed 2024-05-20CC-BY-4.0
NVDCVE-2021-3912 changed 2026-06-17Public domain