CVE-2024-29902: Cosign vulnerable to system-wide denial of service via malicious attachments
Vulnerability summary
CVE-2024-29902 is a medium (CVSS 5.9) vulnerability in sigstore cosign. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 52.8% of scored vulnerabilities.
Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 34Timeline
- 10-04-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
Cosign provides code signing and transparency for containers and binaries. Prior to version 2.2.4, a remote image with a malicious attachment can cause denial of service of the host machine running Cosign. This can impact other services on the machine that rely on having memory available such as a Redis database which can result in data loss. It can also impact the availability of other services on the machine that will not be available for the duration of the machine denial. The root cause of this issue is that Cosign reads the attachment from a remote image entirely into memory without checking the size of the attachment first. As such, a large attachment can make Cosign read a large attachment into memory; If the attachments size is larger than the machine has memory available, the machine will be denied of service. The Go runtime will make a SigKill after a few seconds of system-wide denial. This issue can allow a supply-chain escalation from a compromised registry to the Cosign user: If an attacher has compromised a registry or the account of an image vendor, they can include a malicious attachment and hurt the image consumer. Version 2.2.4 contains a patch for the vulnerability.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA4.2MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · WolfiEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · GoEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.66%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.66% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard30 products
- aactl< 0.4.12-r10
- apko< 0.14.0-r6
- chainctl< 0.2.59-r0
- docker-credential-cgr< 0.2.59-r0
- falcoctl< 0.7.3-r7
Wolfi21 products
- aactl< 0.4.12-r10
- apko< 0.14.0-r6
- falcoctl< 0.7.3-r7
- flux-source-controller< 1.2.5-r1
- gitsign< 0.10.1-r2
Github.com/sigstore1 product
- cosign≤ 2.2.3 | All versions (No fix recorded)
Github.com/sigstore/cosign1 product
- v2< 2.2.4
Sigstore1 product
- cosign< 2.2.4
5 vendors · 54 products
References
8 links- github.com/sigstore/cosign/security/advisories/GHSA-88jx-383q-w4qcX Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/sigstore/cosign/commit/629f5f8fa672973503edde75f84dcd984637629eX Refsource MISCFIXWEBPatch
- github.com/sigstore/cosign/blob/9bc3ee309bf35d2f6e17f5d23f231a3d8bf580bc/pkg/oci/remote/remote.goX Refsource MISCWEBProduct
- github.com/sigstore/cosignPACKAGE