{"cve":"CVE-2024-29903","nvd":{"published":"2024-04-10T23:15:07.130","modified":"2026-06-17T07:23:20.263","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770"],"references":["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/commit/629f5f8fa672973503edde75f84dcd984637629e","https://github.com/sigstore/cosign/releases/tag/v2.2.4","https://github.com/sigstore/cosign/security/advisories/GHSA-95pr-fxf5-86gv"],"products":["sigstore:cosign"],"source":"nvd","synced_at":"2026-10-19T21:48:32.179249784+00:00"},"epss":{"cve":"CVE-2024-29903","score":0.00851,"percentile":0.5822,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-95pr-fxf5-86gv","url":"https://osv.dev/vulnerability/GHSA-95pr-fxf5-86gv","summary":"Cosign malicious artifacts can cause machine-wide DoS","modified":"2026-09-10T03:50:00.260031952Z","packages":[{"ecosystem":"Go","name":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","ranges":["<=2.2.3"],"fixed":[]},{"ecosystem":"Go","name":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","ranges":["<2.2.4"],"fixed":["2.2.4"]}]},{"id":"GO-2024-2719","url":"https://osv.dev/vulnerability/GO-2024-2719","summary":"Cosign malicious artifacts can cause machine-wide DoS in github.com/sigstore/cosign","modified":"2026-02-04T02:35:06.535922Z","packages":[{"ecosystem":"Go","name":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","ranges":["<2.2.4"],"fixed":["2.2.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}