5.9

CVE-2024-29902: Cosign vulnerable to system-wide denial of service via malicious attachments

Analyzed
AliasesCGA-2f25-wrc6-cfm3CGA-2jcq-755r-73jjCGA-2qx4-fvr9-78wq
Published 10-04-2024Last modified 02-08-2024

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.

Priority
Routine

Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
0.66%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 34

Timeline

  1. 10-04-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

5 vendors · 54 products

References

8 links