# CVE-2023-46737: Possible endless data attack from attacker-controlled registry in cosign

> 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.67% (percentile 47, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** BIT-cosign-2023-46737, GHSA-vfp6-jrw2-99g9, GO-2023-2181
- **Published:** 2023-11-07T17:30:25.717Z
- **Modified:** 2026-09-10T03:50:04.292Z

## Who should check

- Projects that depend on Go package github.com/sigstore/cosign (\< 1.13.2)
- Projects that depend on Go package github.com/sigstore/cosign/v2 (\< 2.2.1)
- Anyone running sigstore cosign \< 2.2.1

## Description

Cosign is a sigstore signing tool for OCI containers. Cosign is susceptible to a denial of service by an attacker controlled registry. An attacker who controls a remote registry can return a high number of attestations and/or signatures to Cosign and cause Cosign to enter a long loop resulting in an endless data attack. The root cause is that Cosign loops through all attestations fetched from the remote registry in pkg/cosign.FetchAttestations. The attacker needs to compromise the registry or make a request to a registry they control. When doing so, the attacker must return a high number of attestations in the response to Cosign. The result will be that the attacker can cause Cosign to go into a long or infinite loop that will prevent other users from verifying their data. In Kyvernos case, an attacker whose privileges are limited to making requests to the cluster can make a request with an image reference to their own registry, trigger the infinite loop and deny other users from completing their admission requests. Alternatively, the attacker can obtain control of the registry used by an organization and return a high number of attestations instead the expected number of attestations. The issue can be mitigated rather simply by setting a limit to the limit of attestations that Cosign will loop through. The limit does not need to be high to be within the vast majority of use cases and still prevent the endless data attack. This issue has been patched in version 2.2.1 and users are advised to upgrade.

## Affected and fixed versions

- Go `github.com/sigstore/cosign`: affected \< 1.13.2; fixed 1.13.2 (osv)
- Go `github.com/sigstore/cosign/v2`: affected \< 2.2.1; fixed 2.2.1 (osv)
- sigstore cosign: \< 2.2.1 (cvelist)

## Mitigation

- Upgrade github.com/sigstore/cosign to 1.13.2 or later.
- Upgrade github.com/sigstore/cosign/v2 to 2.2.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-2023-46737. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-46737.md
Affected: github.com/sigstore/cosign < 1.13.2; github.com/sigstore/cosign/v2 < 2.2.1
Fixed in: 1.13.2, 2.2.1

Steps:
1. Search this machine and project for github.com/sigstore/cosign (Go), github.com/sigstore/cosign/v2 (Go), sigstore cosign: 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-2023-46737 being exploited?

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

### How serious is CVE-2023-46737?

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-2023-46737?

github.com/sigstore/cosign \< 1.13.2; github.com/sigstore/cosign/v2 \< 2.2.1.

### Is there a fix for CVE-2023-46737?

Yes. Fixed in 1.13.2, 2.2.1. Upgrade github.com/sigstore/cosign to 1.13.2 or later. Upgrade github.com/sigstore/cosign/v2 to 2.2.1 or later.

### How do I check if I'm affected by CVE-2023-46737?

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/cosign/security/advisories/GHSA-vfp6-jrw2-99g9>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-46737>
- patch: <https://github.com/sigstore/cosign/commit/8ac891ff0e29ddc67965423bee8f826219c6eb0f>
- patch: <https://github.com/sigstore/cosign/pull/3364>
- other: <https://github.com/sigstore/cosign>
- other: <https://github.com/sigstore/cosign/releases/tag/v1.13.2>
- other: <https://github.com/sigstore/cosign/releases/tag/v2.2.1>

## 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-2023-46737>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vfp6-jrw2-99g9> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2023-2181> (license: <https://creativecommons.org/licenses/by/4.0/>)

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