# Cosign malicious attachments can cause system-wide denial of service

Advisory record · `GHSA-88jx-383q-w4qc`

- **Identifiers:** `GHSA-88jx-383q-w4qc` · `BIT-cosign-2024-29902` · `CVE-2024-29902` · `GO-2024-2718`
- **State:** Confirmed
- **Severity:** CVSS 4.2 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-770](https://cwe.mitre.org/data/definitions/770.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 11 Apr 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 11 Apr 2024, 17:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/sigstore/cosign` (Go): affected `<=2.2.3`; no fixed version yet
- `github.com/sigstore/cosign/v2` (Go): affected `<2.2.4`; fixed in `2.2.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Cosign (github.com/sigstore/cosign, all versions up to 2.2.3; no fixed version listed) and github.com/sigstore/cosign/v2 (versions before 2.2.4) both read remote image attachments fully into memory without a size check. An attacker who controls a remote image or a compromised registry account can supply a very large attachment, causing a system-wide denial of service on the host running Cosign. Upgrade github.com/sigstore/cosign/v2 to 2.2.4 or later; for the unversioned github.com/sigstore/cosign module, no fix is listed.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.2 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0066, the 52nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:15 UTC: First seen by agentprime
- 31 Oct 2026, 14:15 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-88jx-383q-w4qc)

## Sources

- [GitHub Advisory Database: GHSA-88jx-383q-w4qc](https://github.com/advisories/GHSA-88jx-383q-w4qc)
- [OSV: GHSA-88jx-383q-w4qc](https://osv.dev/vulnerability/GHSA-88jx-383q-w4qc)
- <https://github.com/sigstore/cosign/security/advisories/GHSA-88jx-383q-w4qc>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-29902>
- <https://github.com/sigstore/cosign/commit/629f5f8fa672973503edde75f84dcd984637629e>
- <https://github.com/google/go-containerregistry/blob/a0658aa1d0cc7a7f1bcc4a3af9155335b6943f40/pkg/v1/remote/layer.go#L36-L40>
- <https://github.com/sigstore/cosign>
- <https://github.com/sigstore/cosign/blob/9bc3ee309bf35d2f6e17f5d23f231a3d8bf580bc/pkg/oci/remote/remote.go#L228-L239>
- <https://github.com/sigstore/cosign/releases/tag/v2.2.4>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-88jx-383q-w4qc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-88jx-383q-w4qc/>. Everything for agents: <https://agentprime.io/llms.txt>.
