cve.bz

CVE-2024-29902 sigstore cosign

5.9 mediumEPSS 0.7%Fix available

Medium (5.9) in sigstore cosign. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/sigstore/cosign/v2 2.2.4.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-06-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-29902 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-29902?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-29902?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-29902 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sigstore:cosignbefore 2.2.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-88jx-383q-w4qcGogithub.com/sigstore/cosign<=2.2.3no fix published
GHSA-88jx-383q-w4qcGogithub.com/sigstore/cosign/v2<2.2.42.2.4
GO-2024-2718Gogithub.com/sigstore/cosignall versionsno fix published
GO-2024-2718Gogithub.com/sigstore/cosign/v2<2.2.42.2.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift_pipelines:1.15::el8openshift-pipelines-client, openshift-pipelines-client-redistributable0:1.15.0-11496.el8RHEA-2024:4022
SUSELinux Enterprise Module for Basesystem 15 SP5cosign2.2.4-150400.3.20.1SUSE-SU-2024:1486-1
SUSELinux Enterprise Module for Basesystem 15 SP6cosign2.2.4-150400.3.20.1SUSE-SU-2024:1486-2
openSUSELeap 15.5cosign2.2.4-150400.3.20.1SUSE-SU-2024:1486-1
openSUSELeap 15.6cosign2.2.4-150400.3.20.1SUSE-SU-2024:1486-2
openSUSETumbleweedcosign2.2.4-1.1openSUSE-SU-2024:13863-1
openSUSETumbleweedteleport15.2.4-1.1openSUSE-SU-2024:13903-1

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
OpenShift-Pipelines-1.15-RHEL-8openshift-pipelines-client-0:1.15.0-11496.el8Fixed 2024-06-20RHEA-2024:4022
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-central-db-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-collector-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-collector-slim-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-main-rhel8:4.5.0-3Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-operator-bundle:4.5.0-3Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-rhel8-operator:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-roxctl-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-db-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-db-slim-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-slim-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-v4-db-rhel8:4.5.0-2Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-v4-rhel8:4.5.0-3Fixed 2024-07-24RHSA-2024:4836
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-29902.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON