{"answers":{"affected":"7 open source packages ship an affected version, including github.com/sigstore/cosign, cosign and github.com/sigstore/cosign/v2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29903 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-29903 is a medium-severity denial of service vulnerability in sigstore cosign, published on 10 Apr 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-29903 and fix it if it is affected.\n\nWhat it is: CVE-2024-29903 is a medium-severity denial of service vulnerability in sigstore cosign, published on 10 Apr 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29903 exists.\n\nAffected packages and fixed versions:\n- github.com/sigstore/cosign (Go): affected all versions; no fix listed\n- github.com/sigstore/cosign (Go): affected all versions up to 2.2.3; no fix listed\n- github.com/sigstore/cosign (Go): affected all versions up to 2.2.3; no fix listed\n- cosign (Bitnami): affected all versions; fixed in 2.2.4\n- github.com/sigstore/cosign/v2 (Go): affected all versions; fixed in 2.2.4\n- github.com/sigstore/cosign/v2 (Go): affected all versions; fixed in 2.2.4\n- github.com/sigstore/cosign/v2 (Go): affected all versions; fixed in 2.2.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-29903/ (Markdown: https://insights.sbomify.com/CVE-2024-29903/index.md)","id":"CVE-2024-29903","markdown":"https://insights.sbomify.com/CVE-2024-29903/index.md","name":"CVE-2024-29903","record":{"aliases":["BIT-cosign-2024-29903","CLEANSTART-2026-TU54613","GHSA-95pr-fxf5-86gv","GO-2024-2719"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Container signing tool","requires_auth":"high_privilege","summary":"Attackers can cause machine-wide denial of service in Cosign by submitting malicious artifacts that trigger excessive memory allocation.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cosign","vendor":"sigstore"}],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cosign vulnerable to machine-wide denial of service via malicious artifacts","id":"CVE-2024-29903","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":7,"n_references":5,"next":{"headline":"CodeIgniter4 Language class DoS Vulnerability","id":"CVE-2024-29904"},"packages":[{"ecosystem":"Bitnami","fixed":["2.2.4"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:bitnami/cosign","source":"BIT-cosign-2024-29903"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"GO-2024-2719"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.2.3"],"package":"github.com/sigstore/cosign","purl":null,"source":"GHSA-95pr-fxf5-86gv"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.2.3"],"package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"GHSA-95pr-fxf5-86gv"},{"ecosystem":"Go","fixed":["2.2.4"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign/v2","purl":null,"source":"GHSA-95pr-fxf5-86gv"},{"ecosystem":"Go","fixed":["2.2.4"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","source":"GHSA-95pr-fxf5-86gv"},{"ecosystem":"Go","fixed":["2.2.4"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","source":"GO-2024-2719"}],"prev":{"headline":"Cosign vulnerable to system-wide denial of service via malicious attachments","id":"CVE-2024-29902"},"products":["cosign"],"published":"2024-04-10","related":[{"cvss_score":7.1,"headline":"False positive signature verification in cosign","id":"CVE-2022-35929","kev_date_added":null,"published":"2022-08-04"},{"cvss_score":5.5,"headline":"Cosign verification accepts any valid Rekor entry under certain conditions","id":"CVE-2026-22703","kev_date_added":null,"published":"2026-01-10"},{"cvss_score":5.5,"headline":"Vulnerabilities with blob verification in sigstore cosign","id":"CVE-2022-36056","kev_date_added":null,"published":"2022-09-14"},{"cvss_score":4.3,"headline":"Cosign's verify-blob-attestation reports false positive when payload parsing fails","id":"CVE-2026-39395","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":4.2,"headline":"Cosign vulnerable to system-wide denial of service via malicious attachments","id":"CVE-2024-29902","kev_date_added":null,"published":"2024-04-10"},{"cvss_score":3.7,"headline":"Cosign Certificate Chain Expiry Validation Issue Allows Issuing Certificate Expiry to Be Overlooked","id":"CVE-2026-24122","kev_date_added":null,"published":"2026-02-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["sigstore"]},"summary":"Attackers can cause machine-wide denial of service in Cosign by submitting malicious artifacts that trigger excessive memory allocation.","url":"https://insights.sbomify.com/CVE-2024-29903/"}