GHSA-47q9-m4ww-924m: Rekor has an OOM Condition due to Unbounded gzip Decompression in Alpine APK Parsing Logic
A vulnerability in github.com/sigstore/rekor allows unauthenticated attackers to cause an out-of-memory (OOM) condition via unbounded gzip decompression in Alpine APK parsing. The Package.Unmarshal() function decompresses gzip members into memory without limiting decompressed size, enabling decompression bombs that exhaust heap memory. This affects versions from 0.3.0 up to but not including 1.5.2. The flaw is reachable through two unauthenticated API endpoints. No effective workaround exists as request body size limits do not prevent large decompressed memory usage.
AI Analysis
Technical Summary
The Package.Unmarshal() function in the Alpine APK parsing logic of github.com/sigstore/rekor decompresses gzip streams into memory buffers without bounding the total decompressed size. Although a max_apk_metadata_size limit exists, it only applies after decompression to individual tar entry headers, not to the decompression process itself. An attacker can craft a gzip stream with a high compression ratio (~1000:1) that decompresses into a very large memory allocation (e.g., 2MB compressed to 2GB decompressed). When such a payload is submitted via the unauthenticated POST /api/v1/log/entries or POST /api/v1/log/entries/retrieve endpoints, the server decompresses it fully in memory, causing a fatal Go runtime OOM error or OS-level OOM kill. The vulnerability is present in versions >=0.3.0 and <1.5.2. There is no effective workaround; limiting request body size only reduces but does not eliminate risk due to the high decompression ratio.
Potential Impact
This vulnerability allows unauthenticated remote attackers to cause a denial of service by exhausting server memory, leading to a fatal runtime out-of-memory error or process termination by the operating system. There is no impact on confidentiality or integrity reported. The service becomes unavailable due to resource exhaustion.
Mitigation Recommendations
No effective workaround is currently available. Limiting the maximum request body size reduces but does not eliminate the risk because of the high decompression ratio possible. The max_apk_metadata_size setting does not mitigate this vulnerability as it is checked only after decompression. Users should monitor the vendor advisory for an official fix or patch. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
GHSA-47q9-m4ww-924m: Rekor has an OOM Condition due to Unbounded gzip Decompression in Alpine APK Parsing Logic
Description
A vulnerability in github.com/sigstore/rekor allows unauthenticated attackers to cause an out-of-memory (OOM) condition via unbounded gzip decompression in Alpine APK parsing. The Package.Unmarshal() function decompresses gzip members into memory without limiting decompressed size, enabling decompression bombs that exhaust heap memory. This affects versions from 0.3.0 up to but not including 1.5.2. The flaw is reachable through two unauthenticated API endpoints. No effective workaround exists as request body size limits do not prevent large decompressed memory usage.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Package.Unmarshal() function in the Alpine APK parsing logic of github.com/sigstore/rekor decompresses gzip streams into memory buffers without bounding the total decompressed size. Although a max_apk_metadata_size limit exists, it only applies after decompression to individual tar entry headers, not to the decompression process itself. An attacker can craft a gzip stream with a high compression ratio (~1000:1) that decompresses into a very large memory allocation (e.g., 2MB compressed to 2GB decompressed). When such a payload is submitted via the unauthenticated POST /api/v1/log/entries or POST /api/v1/log/entries/retrieve endpoints, the server decompresses it fully in memory, causing a fatal Go runtime OOM error or OS-level OOM kill. The vulnerability is present in versions >=0.3.0 and <1.5.2. There is no effective workaround; limiting request body size only reduces but does not eliminate risk due to the high decompression ratio.
Potential Impact
This vulnerability allows unauthenticated remote attackers to cause a denial of service by exhausting server memory, leading to a fatal runtime out-of-memory error or process termination by the operating system. There is no impact on confidentiality or integrity reported. The service becomes unavailable due to resource exhaustion.
Mitigation Recommendations
No effective workaround is currently available. Limiting the maximum request body size reduces but does not eliminate the risk because of the high decompression ratio possible. The max_apk_metadata_size setting does not mitigate this vulnerability as it is checked only after decompression. Users should monitor the vendor advisory for an official fix or patch. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-47q9-m4ww-924m
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-48702"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a3ef7e727e9c79719032cf0
Added to database: 06/26/2026, 22:06:31 UTC
Last enriched: 06/26/2026, 22:45:57 UTC
Last updated: 06/26/2026, 22:45:57 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.