{"schemaVersion":3,"id":"CVE-2021-3912","aliases":["UBUNTU-CVE-2021-3912","DEBIAN-CVE-2021-3912","GHSA-g9wh-3vrx-r7hg","GO-2022-0253"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2021-11-11T21:45:24.415Z","modified":"2024-09-16T23:41:30.954Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","exploitability":1.3,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.2,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","exploitability":1.3,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0085,"percentile":0.57459,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0085},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0085,"percentile":0.57459}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0085,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0085,"percentile":0.57459}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"cloudflare","product":"octorpki","name":"octorpki","label":"octorpki","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 1.4.0","noFixRecorded":false,"fixedIn":null},{"text":"< 1.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 1.4.0 | < 1.3.0","eol":null,"hubHref":"/vendor/cloudflare/octorpki"},{"vendor":"debian","product":"cfrpki","name":"cfrpki","label":"cfrpki","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cfrpki","purlType":"deb","versions":[{"text":"< 1.4.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cfrpki","name":"cfrpki","label":"cfrpki","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cfrpki","purlType":"deb","versions":[{"text":"< 1.4.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.2-1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"github.com/cloudflare","product":"cfrpki","name":"github.com/cloudflare/cfrpki","label":"cfrpki","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/cloudflare/cfrpki","purlType":"golang","versions":[{"text":"< 1.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-g9wh-3vrx-r7hg","label":"github.com/cloudflare/cfrpki/security/advisories/GHSA-g9wh-3vrx-r7hg","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5041","label":"www.debian.org/security/2022/dsa-5041","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-3912","label":"ubuntu.com/security/CVE-2021-3912","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/cloudflare/cfrpki/commit/32961e7a41cae67660dfee92095a1f6c2f86f943","label":"github.com/cloudflare/cfrpki/commit/32961e7a41cae67660dfee92095a1f6c2f86f943","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3912","label":"www.cve.org/CVERecord?id=CVE-2021-3912","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3912","label":"security-tracker.debian.org/tracker/CVE-2021-3912","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3912","label":"nvd.nist.gov/vuln/detail/CVE-2021-3912","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/cloudflare/cfrpki/commit/648658b1b176a747b52645989cfddc73a81eacad","label":"github.com/cloudflare/cfrpki/commit/648658b1b176a747b52645989cfddc73a81eacad","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0253","label":"pkg.go.dev/vuln/GO-2022-0253","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DSA-5041-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-11-11T21:45:24.415Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T23:41:30.954Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:53:02.234Z","stale":false,"partial":false}}