Skip to content

CVE-2026-48702 Rekor has an OOM Condition due to Unbounded gzip Decompression in Alpine APK Parsing Logic

HighCVSS 7.5 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

Rekor is a software supply chain transparency log. Starting in version 0.3.0 and prior to version 1.5.2, the Package.Unmarshal() function in pkg/types/alpine/apk.go decompresses the signature and control gzip members of an APK file into in-memory buffers without bounding the total decompressed size. The existing max_apk_metadata_size check (default 1MB) is only applied to individual tar entry header sizes after decompression completes, so it does not prevent a decompression bomb from consuming unbounded heap memory. An attacker can craft a gzip stream that compresses at a ~1000:1 ratio (e.g., 2MB compressed zeros → 2GB decompressed). When submitted as spec.package.content in an Alpine ProposedEntry, the server decompresses the full payload into memory during request processing, triggering a fatal Go runtime out-of-memory error or OS OOM-kill that cannot be caught by the server's recover() middleware. This is reachable via two unauthenticated endpoints, POST /api/v1/log/entries (createLogEntry) and POST /api/v1/log/entries/retrieve (searchLogQuery). Both invoke V001Entry.Canonicalize() → fetchExternalEntities() → apk.Unmarshal(packageData), which performs the unbounded decompression. Version 1.5.2 patches the issue. There is no effective workaround. Setting max_request_body_size reduces but does not eliminate exposure due to the ~1000:1 compression ratio (a 1MB body limit still allows ~1GB heap allocation). Setting max_apk_metadata_size has no effect on this vulnerability since the check is applied after decompression.

Upgrade path

11 packages: 4 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/rekor(Debian 13) = 1.3.9-1; = 1.3.10-1; = 1.4.0-1; = 1.4.2-1 +7 more No fix listed No fix yet
redhat/multicluster-engine/assisted-service-9-rhel9(Red Hat multicluster_engine) All versions No fix listed No fix yet
redhat/rekor(Red Hat trusted_artifact_signer 1) All versions No fix listed No fix yet
redhat/rhtas/rekor-server-rhel9:1785391524(Red Hat trusted_artifact_signer 1.4 el9) All versions No fix listed No fix yet
redhat/rhtas/rekor-server-rhel9:1787305397(Red Hat trusted_artifact_signer 1.3 el9) All versions No fix listed No fix yet
ubuntu/rekor(Ubuntu 26.04) All versions No fix listed No fix yet
debian/rekor(Debian 14) < 1.5.2-1; = 1.3.9-1; = 1.3.10-1; = 1.4.0-1 +4 more 1.5.2-1 Fixed
redhat/cosign-main(Red Hat hummingbird 1) < 3.1.1-0.1.hum1 3.1.1-0.1.hum1 Fixed
redhat/trivy-main(Red Hat hummingbird 1) < 0.72.0-0.1.hum1 0.72.0-0.1.hum1 Fixed
sigstore rekor(Go) >= 0.3.0, < 1.5.2 1.5.2 Fixed
sigstore rekor = >= 0.3.0, < 1.5.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
sigstore rekor = >= 0.3.0, < 1.5.2 No fix listed
debian/rekor(Debian:14) < 1.5.2-1 1.5.2-1
debian/rekor(Debian:13) All versions No fix listed
sigstore rekor(Go) >= 0.3.0, < 1.5.2 1.5.2
redhat/cosign-main(Red Hat:hummingbird:1) < 3.1.1-0.1.hum1 3.1.1-0.1.hum1
redhat/trivy-main(Red Hat:hummingbird:1) < 0.72.0-0.1.hum1 0.72.0-0.1.hum1
redhat/rhtas/rekor-server-rhel9:1787305397(Red Hat:trusted_artifact_signer:1.3::el9) All versions No fix listed
redhat/rhtas/rekor-server-rhel9:1785391524(Red Hat:trusted_artifact_signer:1.4::el9) All versions No fix listed
redhat/multicluster-engine/assisted-service-9-rhel9(Red Hat:multicluster_engine) All versions No fix listed
redhat/rekor(Red Hat:trusted_artifact_signer:1) All versions No fix listed
debian/rekor(Debian:13) = 1.3.10-1 No fix listed
debian/rekor(Debian:13) = 1.3.9-1 No fix listed
debian/rekor(Debian:13) = 1.4.0-1 No fix listed
debian/rekor(Debian:13) = 1.4.2-1 No fix listed
debian/rekor(Debian:13) = 1.4.3-1 No fix listed
debian/rekor(Debian:13) = 1.5.0-1 No fix listed
debian/rekor(Debian:13) = 1.5.1-1 No fix listed
debian/rekor(Debian:13) = 1.5.2-1 No fix listed
debian/rekor(Debian:13) = 1.5.3-1 No fix listed
debian/rekor(Debian:13) = 1.5.3-2 No fix listed
debian/rekor(Debian:14) = 1.3.10-1 No fix listed
debian/rekor(Debian:14) = 1.3.9-1 No fix listed
debian/rekor(Debian:14) = 1.4.0-1 No fix listed
debian/rekor(Debian:14) = 1.4.2-1 No fix listed
debian/rekor(Debian:14) = 1.4.3-1 No fix listed
Show 3 more
ProductAffected versionsFixed in
debian/rekor(Debian:14) = 1.5.0-1 No fix listed
debian/rekor(Debian:14) = 1.5.1-1 No fix listed
ubuntu/rekor(Ubuntu:26.04) All versions No fix listed

References