# CVE-2023-30551: Rekor's compressed archives can result in OOM conditions


- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 8 May 2023
- **Updated:** 29 Jan 2025
- **Also known as:** GHSA-2h5h-59f5-c5x9, GO-2023-1754, SUSE-SU-2023:2210-1, openSUSE-SU-2024:12919-1

## What is CVE-2023-30551?

CVE-2023-30551 is a high-severity vulnerability in sigstore rekor, published on 8 May 2023. 

### Official description

Rekor is an open source software supply chain transparency log. Rekor prior to version 1.1.1 may crash due to out of memory (OOM) conditions caused by reading archive metadata files into memory without checking their sizes first. Verification of a JAR file submitted to Rekor can cause an out of memory crash if files within the META-INF directory of the JAR are sufficiently large. Parsing of an APK file submitted to Rekor can cause an out of memory crash if the .SIGN or .PKGINFO files within the APK are sufficiently large. The OOM crash has been patched in Rekor version 1.1.1. There are no known workarounds.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling)

## Which versions are affected by CVE-2023-30551?

3 open source packages ship an affected version, including github.com/sigstore/rekor. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/sigstore/rekor` | Go | All versions | 1.1.1 |
| `github.com/sigstore/rekor` | Go | All versions | 1.1.1 |
| `github.com/sigstore/rekor` | Go | All versions | 1.1.1 |
| `rekor` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 1.1.1-150400.4.9.1 |
| `rekor` | openSUSE:Leap 15.4 | All versions | 1.1.1-150400.4.9.1 |
| `rekor` | openSUSE:Tumbleweed | All versions | 1.1.1-2.1 |

Products: Linuxfoundation Rekor.

## How do I fix CVE-2023-30551?

Upgrade github.com/sigstore/rekor to 1.1.1 or later.

## Is CVE-2023-30551 being exploited?

There is no known exploitation of CVE-2023-30551 in the wild and no public exploit code.

## Other vulnerabilities in sigstore rekor

- [CVE-2026-23831](https://insights.sbomify.com/CVE-2026-23831/): Rekor COSE v0.0.1 Canonicalize crashes when passed empty Message (medium 5.3)
- [CVE-2026-24117](https://insights.sbomify.com/CVE-2026-24117/): Rekor affected by Server-Side Request Forgery (SSRF) via provided public key URL (medium 5.3)
- [CVE-2023-33199](https://insights.sbomify.com/CVE-2023-33199/): malformed proposed intoto v0.0.2 entries can cause a panic in Rekor (medium 5.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-30551 and fix it if it is affected.

What it is: CVE-2023-30551 is a high-severity vulnerability in sigstore rekor, published on 8 May 2023. 
Exploitation: There is no known exploitation of CVE-2023-30551 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/sigstore/rekor (Go): affected all versions; fixed in 1.1.1
- github.com/sigstore/rekor (Go): affected all versions; fixed in 1.1.1
- github.com/sigstore/rekor (Go): affected all versions; fixed in 1.1.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-30551/ (Markdown: https://insights.sbomify.com/CVE-2023-30551/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-30551
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-30551
- OSV: https://osv.dev/vulnerability/CVE-2023-30551

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-30551/
Summaries are generated and may contain mistakes; the official description above is the record.
