{"id":"CVE-2021-3912","aliases":["CVE-2021-3912","GHSA-g9wh-3vrx-r7hg","GO-2022-0253"],"related":[],"kind":"vulnerability","state":"published","title":"OctoRPKI crashes when processing GZIP bomb returned via malicious repository","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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"en","text":"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). \n\n## Patches\n\n## For more information\nIf you have any questions or comments about this advisory email us at security@cloudflare.com","format":"markdown","source":"ghsa"},{"lang":"en","text":"The HTTPFetcher.GetXML function reads a response of unlimited size into memory, permitting resource exhaustion.","format":"markdown","source":"go"},{"lang":"es","text":"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)","source":"nvd"}],"published":"2021-11-10T20:39:23.000Z","modified":"2026-07-08T06:28:22.960Z","severity":{"scorer":"cloudflare","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"cloudflare","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","score":4.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","score":4.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.4.0","status":"affected"}],"vendor":"Cloudflare","product":"octorpki","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"Go","package":"github.com/cloudflare/cfrpki","purl":"pkg:golang/github.com/cloudflare/cfrpki","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.0"}],"ecosystem":"Go","package":"github.com/cloudflare/cfrpki","purl":"pkg:golang/github.com/cloudflare/cfrpki","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.0"}],"vendor":"cloudflare","product":"octorpki","cpe":"cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g9wh-3vrx-r7hg","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.debian.org/security/2022/dsa-5041","tags":["third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3912","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cloudflare/cfrpki/commit/648658b1b176a747b52645989cfddc73a81eacad","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0253","tags":["web"],"sources":["ghsa"]}],"credits":["Koen van Hove"],"assigner":"cloudflare","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3912","url":"https://www.cve.org/CVERecord?id=CVE-2021-3912","licence":"CVE Terms of Use","modified":"2024-09-16T23:41:30.954Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g9wh-3vrx-r7hg","url":"https://github.com/advisories/GHSA-g9wh-3vrx-r7hg","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:22.960Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0253","url":"https://pkg.go.dev/vuln/GO-2022-0253","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3912","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3912","licence":"Public domain","modified":"2026-06-17T04:05:58.713Z"}],"updatedAt":"2026-11-25T22:58:05.489Z","epss":{"score":0.0085,"percentile":0.59256,"date":"2026-12-01T12:00:22.000Z"}}