Skip to content
Fencer Vulns
medium 4.2

CVE-2024-29902 json

Cosign vulnerable to system-wide denial of service via malicious attachments

published 2024-04-10 2 y ago modified 2026-09-10 1 mo ago also BIT-cosign-2024-29902 , EUVD-2024-1155 , GHSA-88jx-383q-w4qc , GO-2024-2718

cvss
4.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 51%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/sigstore/cosign/v2 2.2.4
  • bitnami cosign 2.2.4
  • sigstore cosign 2.2.4
  • openshift-pipelines-client openshift pipelines 1.15 1.15.0-11496.el8
  • openshift-pipelines-client-redistributable openshift pipelines 1.15 1.15.0-11496.el8

red hat advisories RHEA-2024:4022

  • cosign SLE Module for Basesystem 15 SP6, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.6 +1 more 2.2.4-150400.3.20.1

suse advisories SUSE-SU-2024:1486-2SUSE-SU-2024:1486-1

  • cosign openSUSE Tumbleweed 2.2.4-1.1
  • teleport openSUSE Tumbleweed 15.2.4-1.1

opensuse advisories openSUSE-SU-2024:13863-1openSUSE-SU-2024:13903-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-29902 updated cvss 4.2

cosign: Malicious attachments can cause system-wide denial of service

  • Red Hat OpenShift Pipelines version 1.15 for RHEL 8 openshift-pipelines-client 1.15.0-11496.el8, openshift-pipelines-client-redistributable 1.15.0-11496.el8
    fixed: vendor fix RHEA-2024:4022
  • Red Hat RHACS 4.5 for RHEL 8 advanced-cluster-security/rhacs-main-rhel8 4.5.0-3, advanced-cluster-security/rhacs-roxctl-rhel8 4.5.0-2, advanced-cluster-security/rhacs-scanner-rhel8 4.5.0-2, advanced-cluster-security/rhacs-rhel8-operator 4.5.0-2, advanced-cluster-security/rhacs-collector-rhel8 4.5.0-2, advanced-cluster-security/rhacs-operator-bundle 4.5.0-3, +7 more
    fixed: vendor fix RHSA-2024:4836
  • Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.2 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
GitHub 3.1 4.2 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
NVD 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
go github.com/sigstore/cosign
<=2.2.3
all versions
no fix listed
go github.com/sigstore/cosign/v2
<2.2.4
2.2.4
bitnami cosign
<2.2.4
2.2.4

Affected products

  • sigstore cosign

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.