# CVE-2024-45395: Unbounded loop over untrusted input can lead to endless data attack

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.1
- **CVSS:** 3.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.87% (percentile 56, 2026-11-26)
- **CWE:** CWE-835
- **Aliases:** GHSA-cq38-jh5f-37mq, GO-2024-3116
- **Published:** 2024-09-04T20:15:08.769Z
- **Modified:** 2026-09-10T03:50:18.781Z

## Who should check

- Projects that depend on Go package github.com/sigstore/sigstore-go (\< 0.6.1)
- Anyone running sigstore-go \< 0.6.1

## Description

sigstore-go, a Go library for Sigstore signing and verification, is susceptible to a denial of service attack in versions prior to 0.6.1 when a verifier is provided a maliciously crafted Sigstore Bundle containing large amounts of verifiable data, in the form of signed transparency log entries, RFC 3161 timestamps, and attestation subjects. The verification of these data structures is computationally expensive. This can be used to consume excessive CPU resources, leading to a denial of service attack. TUF's security model labels this type of vulnerability an "Endless data attack," and can lead to verification failing to complete and disrupting services that rely on sigstore-go for verification. This vulnerability is addressed with sigstore-go 0.6.1, which adds hard limits to the number of verifiable data structures that can be processed in a bundle. Verification will fail if a bundle has data that exceeds these limits. The limits are 32 signed transparency log entries, 32 RFC 3161 timestamps, 1024 attestation subjects, and 32 digests per attestation subject. These limits are intended to be high enough to accommodate the vast majority of use cases, while preventing the verification of maliciously crafted bundles that contain large amounts of verifiable data. Users who are vulnerable but unable to quickly upgrade may consider adding manual bundle validation to enforce limits similar to those in the referenced patch prior to calling sigstore-go's verification functions.

## Affected and fixed versions

- Go `github.com/sigstore/sigstore-go`: affected \< 0.6.1; fixed 0.6.1 (osv)
- sigstore-go: \< 0.6.1 (cvelist)

## Mitigation

- Upgrade github.com/sigstore/sigstore-go to 0.6.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-45395. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-45395.md
Affected: github.com/sigstore/sigstore-go < 0.6.1
Fixed in: 0.6.1

Steps:
1. Search this machine and project for github.com/sigstore/sigstore-go (Go), sigstore-go: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-45395 being exploited?

There is no confirmed exploitation: CVE-2024-45395 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-45395?

Low: CVSS 3.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-45395?

github.com/sigstore/sigstore-go \< 0.6.1.

### Is there a fix for CVE-2024-45395?

Yes. Fixed in 0.6.1. Upgrade github.com/sigstore/sigstore-go to 0.6.1 or later.

### How do I check if I'm affected by CVE-2024-45395?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/sigstore/sigstore-go/security/advisories/GHSA-cq38-jh5f-37mq>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-45395>
- patch: <https://github.com/sigstore/sigstore-go/commit/01e70e89e58226286d7977b4dba43b6be472b12c>
- other: <https://github.com/sigstore/sigstore-go/blob/725e508ed4933e6f5b5206e32af4bbe76f587b54/pkg/verify/signature.go#L183-L193>
- other: <https://github.com/sigstore/sigstore-go/blob/725e508ed4933e6f5b5206e32af4bbe76f587b54/pkg/verify/tlog.go#L74-L178>
- other: <https://github.com/sigstore/sigstore-go/blob/725e508ed4933e6f5b5206e32af4bbe76f587b54/pkg/verify/tsa.go#L59-L68>
- other: <https://github.com/sigstore/sigstore-go>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-45395>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cq38-jh5f-37mq> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-3116> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-45395> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-45395>
