Cosign vulnerable to machine-wide denial of service via malicious artifacts
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.
Summary
Cosign provides code signing and transparency for containers and binaries. Prior to version 2.2.4, maliciously-crafted software artifacts can cause denial of service of the machine running Cosign thereby impacting all services on the machine. The root cause is that Cosign creates slices based on the number of signatures, manifests or attestations in untrusted artifacts. As such, the untrusted artifact can control the amount of memory that Cosign allocates. The exact issue is Cosign allocates excessive memory on the lines that creates a slice of the same length as the manifests. Version 2.2.4 contains a patch for the vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- 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.4 | 2.2.4 | Patch available | CNA |
| — | github.com/sigstore/cosign (Go) | up to 2.2.3 | — | No fix listed | GHSA-95pr-fxf5-86gv |
| — | github.com/sigstore/cosign/v2 (Go) | before 2.2.4 | 2.2.4 | Patch available | GHSA-95pr-fxf5-86gv |
- cosign Vendorsigstore Affected before 2.2.4 Fixed in 2.2.4 Patch available CNA
- github.com/sigstore/cosign (Go) Vendor— Affected up to 2.2.3 Fixed in — No fix listed GHSA-95pr-fxf5-86gv
- github.com/sigstore/cosign/v2 (Go) Vendor— Affected before 2.2.4 Fixed in 2.2.4 Patch available GHSA-95pr-fxf5-86gv
Remediation
- Fix · CNA cosign (sigstore) Fixed in 2.2.4
- Fix · GHSA-95pr-fxf5-86gv github.com/sigstore/cosign/v2 (Go) Fixed in 2.2.4 Advisory →
Red Hat 1 advisory
- RHSA-2024:4836 Released 2024-07-24 · Red Hat rating ModerateRHACS 4.5 enhancement and security update
- RHACS 4.5 for RHEL 8 advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-collector-rhel8, advanced-cluster-security/rhacs-collector-slim-rhel8 +10
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Pipelines version 1.15 for RHEL 8 | Fixed | — |
| RHACS 4.5 for RHEL 8 | Fixed | RHSA-2024:4836 |
Not affected: 1 product
- Red Hat Advanced Cluster Security 3
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29903
- 2026-10-03 Alias added: GHSA-95pr-fxf5-86gv
References
Other 4
- https://github.com/sigstore/cosign/blob/14795db16417579fac0c00c11e166868d7976b61/pkg/cosign/verify.go#L948-L955
- https://github.com/sigstore/cosign/blob/286a98a4a99c1b2f32f84b0d560e324100312280/pkg/oci/remote/signatures.go#L56-L70
- https://github.com/sigstore/cosign/releases/tag/v2.2.4
- https://github.com/sigstore/cosign
More sigstore Cosign vulnerabilities
- TI-2022-16356 False positive signature verification in cosign CVSS 3.1CRITICAL 9.8
- 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-2023-25220 Possible endless data attack from attacker-controlled registry in cosign CVSS 3.1MEDIUM 5.3
- 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-2024-29903 · CVE Program
- CVE-2024-29903 · NVD
- FIRST EPSS
- GHSA-95pr-fxf5-86gv · GitHub Advisory Database · CC BY 4.0
- CVE-2024-29903 · 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