CVE-2021-3912 json
OctoRPKI crashes when processing GZIP bomb returned via malicious repository
published 4y ago modified 4mo ago also GHSA-g9wh-3vrx-r7hg , GO-2022-0253 , EUVD-2021-2346
- cvss
- 4.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
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).
Patch / fix
- go github.com/cloudflare/cfrpki 1.4.0
- Cloudflare octorpki 1.4.0
- cfrpki Debian 12 1.4.0-1
debian advisories DEBIAN-CVE-2021-3912
Is CVE-2021-3912 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/cloudflare/cfrpki | <1.4.0 |
1.4.0 |
Affected products
- Cloudflare octorpki
Classification
References
-
github.com
/cloudflare/cfrpki/commit/648658b1b176a747b52645989cfddc73a81eacad
web, patch
-
debian.org
/security/2022/dsa-5041
vendor-advisory, web, third-party-advisory
-
github.com
/cloudflare/cfrpki/security/advisories/GHSA-g9wh-3vrx-r7hg
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-3912
advisory
-
pkg.go.dev
/vuln/GO-2022-0253
web
Sources
- CVE List CVE-2021-3912
- GitHub Advisory GHSA-g9wh-3vrx-r7hg
- NVD CVE-2021-3912
- OSV GO-2022-0253
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.