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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-11-07 · Modified: 2024-09-04
- Aliases: SUSE-SU-2023:4870-1, CGA-2qmx-wmgc-rjgc, CGA-2rc2-hjm3-6vfw, CGA-37xc-9gjq-w4ff, CGA-3g62-fh85-g62q, CGA-45g4-7phx-3pc2, CGA-4x8c-7fcc-7wp9, CGA-6mcj-4f6j-ph7p, CGA-7j3c-92x8-rf23, CGA-7mr7-c37j-pcqc, CGA-7wpw-v7x6-9r3c, CGA-7xx3-r422-v3xh, CGA-8q48-pc62-4m86, CGA-8vpq-v743-w29m, CGA-crrc-v2mr-cqq8, CGA-hmcr-365v-ccq5, CGA-mmxm-g67f-x8mc, CGA-p44j-7hvf-7r23, CGA-p76r-phrc-38q9, CGA-pvfc-8xp4-6jqm, CGA-px33-grx3-r9qw, CGA-qj54-8667-8qg7, CGA-qqwh-35pp-v9q4, CGA-vj39-vx77-xf3r, CGA-wgwx-gvgp-328g, CGA-wp26-77mv-q4p6, CGA-x2gr-pjcr-869q, GHSA-vfp6-jrw2-99g9, BIT-cosign-2023-46737, GO-2023-2181, openSUSE-SU-2024:13402-1, CGA-5v43-p96v-gfjr, CGA-qfj3-hrmv-9pc9, CGA-x4hf-mw43-9633, CGA-xx4m-33j8-vmh9, ALPINE-CVE-2023-46737
- Record: https://cvemate.com/vulnerability/CVE-2023-46737 · JSON: https://cvemate.com/vulnerability/CVE-2023-46737/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.746%, percentile 56.199%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 37)

- alpine cosign (Alpine Linux): \< 2.2.1-r0
- chainguard aactl (Chainguard): \< 0.4.12-r7
- chainguard apko (Chainguard): \< 0.11.3-r0
- chainguard cosign (Chainguard): \< 2.2.1-r0
- chainguard falcoctl-fips (Chainguard): \< 0.6.2-r2
- chainguard flux-source-controller (Chainguard): \< 1.7.3-r0
- chainguard ko (Chainguard): \< 0.15.1-r0
- chainguard kubescape (Chainguard): \< 3.0.3-r3
- chainguard melange (Chainguard): \< 0.5.3-r0
- chainguard policy-controller (Chainguard): \< 0.8.3-r1
- chainguard skaffold (Chainguard): \< 2.10.0-r2
- chainguard slsa-verifier (Chainguard): \< 2.5.1-r4
- chainguard spire-server (Chainguard): \< 1.8.4-r1
- chainguard spire-server-fips (Chainguard): \< 1.8.5-r0
- chainguard tekton-chains (Chainguard): \< 0.19.0-r3
- chainguard tkn (Chainguard): \< 0.33.0-r2
- wolfi aactl (Wolfi): \< 0.4.12-r7
- wolfi apko (Wolfi): \< 0.11.3-r0
- wolfi cosign (Wolfi): \< 2.2.1-r0
- wolfi flux-source-controller (Wolfi): \< 1.7.3-r0

## References

- <https://github.com/sigstore/cosign/security/advisories/GHSA-vfp6-jrw2-99g9>
- <https://github.com/sigstore/cosign/commit/8ac891ff0e29ddc67965423bee8f826219c6eb0f>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234870-1/>
- <https://bugzilla.suse.com/1216933>
- <https://www.suse.com/security/cve/CVE-2023-46737>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46737.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46737>
- <https://github.com/sigstore/cosign/pull/3364>
- <https://github.com/sigstore/cosign>
- <https://github.com/sigstore/cosign/releases/tag/v1.13.2>
- <https://github.com/sigstore/cosign/releases/tag/v2.2.1>
- <https://security.alpinelinux.org/vuln/CVE-2023-46737>

---

Data as of 2026-12-05T08:49:23.052Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
