# CVE-2021-3912: OctoRPKI crashes when processing GZIP bomb returned via malicious repository

- Severity: Medium 4.2 (CVSS:3.1, scored by cloudflare) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-11-10T20:39:23.000Z
- Modified: 2026-07-08T06:28:22.960Z
- Also known as: GHSA-g9wh-3vrx-r7hg, GO-2022-0253
- Weaknesses: CWE-400, CWE-770
- Assigned by: cloudflare

## 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).

(As written by CVE List.)

## Affected

- Cloudflare octorpki: from unspecified before 1.4.0; before 1.3.0
- github.com/cloudflare/cfrpki (Go): before 1.4.0
- debian debian_linux: 11.0

## Every score

- cloudflare: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## 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

- CVE List: [CVE-2021-3912](https://www.cve.org/CVERecord?id=CVE-2021-3912), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-g9wh-3vrx-r7hg](https://github.com/advisories/GHSA-g9wh-3vrx-r7hg), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2022-0253](https://pkg.go.dev/vuln/GO-2022-0253), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2021-3912](https://nvd.nist.gov/vuln/detail/CVE-2021-3912), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3912 · Whole record: https://cve.day/CVE-2021-3912.json · Rebuilt by cve.day 2026-11-25T22:58:05.489Z
