Skip to content
OpenAdvisories
Medium · 4.2 CVE-2021-3912 EUVD-2021-2346GHSA-g9wh-3vrx-r7hgGO-2022-0253

OctoRPKI crashes when processing GZIP bomb returned via malicious repository

Published Nov 11, 2021 · Updated Sep 16, 2024 · 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).

Affected products

VendorProductAffectedFixed
Cloudflare octorpki unspecified – < 1.4.0 1.4.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 cfrpki 1.4.0-1 —
Debian 11 cfrpki 1.4.2-1~deb11u1 DSA-5041-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cloudflare/cfrpki < 1.4.0 1.4.0 GHSA-g9wh-3vrx-r7hg

Advisories 1

References