Skip to content
Fencer Vulns
medium 4.2

CVE-2024-29903 json

Cosign vulnerable to machine-wide denial of service via malicious artifacts

published 2024-04-10 2 y ago modified 2026-09-10 1 mo ago also BIT-cosign-2024-29903 , EUVD-2024-1167 , GHSA-95pr-fxf5-86gv , GO-2024-2719

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

Summary

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.

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

opensuse advisories openSUSE-SU-2024:13863-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-29903 updated cvss 4.2

cosign: Malicious artifects can cause machine-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.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/sigstore/cosign/security/advisories/GHSA-95pr-fxf5-86gv referenced PoC, tagged "exploit" by a source, unverified

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 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/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.