Possible endless data attack from attacker-controlled registry in cosign
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sigstore | cosign | before 2.2.1 | 2.2.1 | Patch available | CNA |
| — | github.com/sigstore/cosign (Go) | before 1.13.2 | 1.13.2 | Patch available | GHSA-vfp6-jrw2-99g9 |
| — | github.com/sigstore/cosign/v2 (Go) | before 2.2.1 | 2.2.1 | Patch available | GHSA-vfp6-jrw2-99g9 |
- cosign Vendorsigstore Affected before 2.2.1 Fixed in 2.2.1 Patch available CNA
- github.com/sigstore/cosign (Go) Vendor— Affected before 1.13.2 Fixed in 1.13.2 Patch available GHSA-vfp6-jrw2-99g9
- github.com/sigstore/cosign/v2 (Go) Vendor— Affected before 2.2.1 Fixed in 2.2.1 Patch available GHSA-vfp6-jrw2-99g9
Remediation
- Fix · CNA cosign (sigstore) Fixed in 2.2.1
- Fix · GHSA-vfp6-jrw2-99g9 github.com/sigstore/cosign (Go) Fixed in 1.13.2 Advisory →
- Fix · GHSA-vfp6-jrw2-99g9 github.com/sigstore/cosign/v2 (Go) Fixed in 2.2.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Pipelines | Affected | No fix yet |
| Red Hat Advanced Cluster Security 3 | Affected | No fix yet: Fix deferred |
| Red Hat Advanced Cluster Security 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-46737
- 2026-10-03 Alias added: GHSA-vfp6-jrw2-99g9
- 2026-10-23 EPSS moved to the 50th–90th percentile
References
More sigstore Cosign vulnerabilities
- TI-2022-16356 False positive signature verification in cosign CVSS 3.1CRITICAL 9.8
- TI-2024-19670 Cosign vulnerable to machine-wide denial of service via malicious artifacts CVSS 3.1HIGH 7.5
- TI-2024-19669 Cosign vulnerable to system-wide denial of service via malicious attachments CVSS 3.1MEDIUM 5.9
- TI-2022-16479 Vulnerabilities with blob verification in sigstore cosign CVSS 3.1MEDIUM 5.5
- TI-2026-28380 Cosign's verify-blob-attestation reports false positive when payload parsing fails CVSS 3.1MEDIUM 5.3
- TI-2026-18230 Cosign verification accepts any valid Rekor entry under certain conditions CVSS 3.1MEDIUM 5.5
Sources
- CVE-2023-46737 · CVE Program
- CVE-2023-46737 · NVD
- FIRST EPSS
- GHSA-vfp6-jrw2-99g9 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-46737 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences