# CVE-2024-29903: Cosign vulnerable to machine-wide denial of service via malicious artifacts

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-10T22:30:50.890Z
- Modified: 2026-09-10T03:50:00.260Z
- Also known as: GHSA-95pr-fxf5-86gv, BIT-COSIGN-2024-29903, GO-2024-2719
- Related: CGA-24jm-9gpv-m3hv
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sigstore cosign: < 2.2.4; before 2.2.4
- github.com/sigstore/cosign (Go): up to 2.2.3; all versions
- github.com/sigstore/cosign/v2 (Go): before 2.2.4
- cosign (Bitnami): before 2.2.4

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/sigstore/cosign/security/advisories/GHSA-95pr-fxf5-86gv> (exploit, advisory, vendor-advisory, web)
- <https://github.com/sigstore/cosign/commit/629f5f8fa672973503edde75f84dcd984637629e> (fix, patch, web)
- <https://github.com/sigstore/cosign/blob/14795db16417579fac0c00c11e166868d7976b61/pkg/cosign/verify.go#L948-L955> (product, web)
- <https://github.com/sigstore/cosign/blob/286a98a4a99c1b2f32f84b0d560e324100312280/pkg/oci/remote/signatures.go#L56-L70> (product, web)
- <https://github.com/sigstore/cosign/releases/tag/v2.2.4> (article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-29903> (advisory, web)
- <https://github.com/sigstore/cosign> (package)

## Sources

- CVE List: [CVE-2024-29903](https://www.cve.org/CVERecord?id=CVE-2024-29903), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-95pr-fxf5-86gv](https://github.com/advisories/GHSA-95pr-fxf5-86gv), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2719](https://pkg.go.dev/vuln/GO-2024-2719), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-29903](https://nvd.nist.gov/vuln/detail/CVE-2024-29903), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-COSIGN-2024-29903](https://osv.dev/vulnerability/BIT-COSIGN-2024-29903), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-29903 · Whole record: https://cve.day/CVE-2024-29903.json · Rebuilt by cve.day 2026-11-25T22:58:39.085Z
