{"id":"CVE-2021-3912","aliases":["DEBIAN-CVE-2021-3912","DSA-5041-1","EUVD-2021-2346","GHSA-g9wh-3vrx-r7hg","GO-2022-0253","UBUNTU-CVE-2021-3912"],"status":"published","title":"OctoRPKI crashes when processing GZIP bomb returned via malicious repository","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).","severity":{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0085,"percentile":0.58634,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400","CWE-770"],"published":"2021-11-10T20:39:23Z","modified":"2026-10-23T18:03:31Z","fixes":[{"ecosystem":"Go","package":"github.com/cloudflare/cfrpki","fixed_in":["1.4.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"cfrpki","fixed_in":["1.4.0-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/cloudflare/cfrpki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"cfrpki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"cfrpki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1~deb11u1"}]}],"versions":["1.2.2-1","1.3.0-1","1.4.0-1"],"bundled":10},{"source":"osv","ecosystem":"Go","package":"github.com/cloudflare/cfrpki","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/cloudflare/cfrpki","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}]}],"products":[{"vendor":"cloudflare","product":"octorpki"},{"vendor":"debian","product":"debian_linux"}],"references":[{"url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g9wh-3vrx-r7hg","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://www.debian.org/security/2022/dsa-5041","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3912","tags":["advisory"]},{"url":"https://github.com/cloudflare/cfrpki/commit/648658b1b176a747b52645989cfddc73a81eacad","tags":["web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0253","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g9wh-3vrx-r7hg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3912","tags":["advisory"]},{"url":"github.com/cloudflare/cfrpki","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-3912","tags":["report"]},{"url":"https://github.com/cloudflare/cfrpki/commit/32961e7a41cae67660dfee92095a1f6c2f86f943","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3912","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-3912","title":"OctoRPKI crashes when processing GZIP bomb returned via malicious repository","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).","status":"published","published":"2021-11-11T21:45:24.415Z","modified":"2024-09-16T23:41:30.954Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:33:04.020035Z"}],"euvd":[{"id":"EUVD-2021-2346","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).","status":"published","published":"2021-11-11T21:45:24Z","modified":"2024-09-16T23:41:30Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T00:54:48.177577Z"}],"ghsa":[{"id":"GHSA-g9wh-3vrx-r7hg","title":"OctoRPKI crashes when processing GZIP bomb returned via malicious repository","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). \n\n## Patches\n\n## For more information\nIf you have any questions or comments about this advisory email us at security@cloudflare.com\n\n","status":"published","published":"2021-11-10T20:39:23Z","modified":"2023-02-14T17:47:01Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400","CWE-770"],"updated_at":"2026-11-02T14:36:45.67005Z"}],"nvd":[{"id":"CVE-2021-3912","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).","status":"published","published":"2021-11-11T22:15:08.077Z","modified":"2026-06-17T04:05:58.713Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400","CWE-770"],"updated_at":"2026-11-02T14:07:00.984108Z"}],"osv":[{"id":"CVE-2021-3912","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).","status":"published","published":"2021-11-11T22:15:08.077Z","modified":"2026-10-20T10:54:52.65060793Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"DEBIAN-CVE-2021-3912","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).","status":"published","published":"2021-11-11T22:15:08.077Z","modified":"2026-10-23T18:03:31.923343448Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"GHSA-g9wh-3vrx-r7hg","title":"OctoRPKI crashes when processing GZIP bomb returned via malicious repository","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). \n\n## Patches\n\n## For more information\nIf you have any questions or comments about this advisory email us at security@cloudflare.com\n\n","status":"published","published":"2021-11-10T20:39:23Z","modified":"2026-07-08T06:28:22.960027082Z","cvss":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400","CWE-770"],"updated_at":"2026-11-02T15:46:47.472172Z"},{"id":"UBUNTU-CVE-2021-3912","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).","status":"withdrawn","published":"2021-11-11T22:15:00Z","modified":"2025-07-16T07:43:06.508533Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"DSA-5041-1","title":"cfrpki - security update","status":"published","published":"2022-01-11T00:00:00Z","modified":"2026-03-09T02:10:29.476256Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"GO-2022-0253","title":"Resource exhaustion via GZIP bomb in github.com/cloudflare/cfrpki","description":"The HTTPFetcher.GetXML function reads a response of unlimited size into memory, permitting resource exhaustion.","status":"published","published":"2022-07-15T23:07:48Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
