CVE-2024-29902
CVE-2024-29902 is a medium-severity vulnerability in Sigstore Cosign with a CVSS 3.x base score of 4.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-770.
Key facts
- Severity: Medium (CVSS 3.x base score 4.2)
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-1155
- Weakness: CWE-770
- Affected product: Sigstore Cosign
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-29902?
- 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.
- How severe is CVE-2024-29902?
- CVE-2024-29902 has a CVSS 3.x base score of 4.2, rated medium severity. It is exploitable over network with high attack complexity, requires high privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-29902 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-29902?
- CVE-2024-29902 affects Sigstore Cosign. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-29902?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-29902 have an EU (EUVD) identifier?
- Yes. CVE-2024-29902 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1155.
- When was CVE-2024-29902 published?
- CVE-2024-29902 was published on 2024-04-10 and last updated on 2026-06-17.
References
- https://github.com/google/go-containerregistry/blob/a0658aa1d0cc7a7f1bcc4a3af9155335b6943f40/pkg/v1/remote/layer.go#L36-L40
- https://github.com/sigstore/cosign/blob/9bc3ee309bf35d2f6e17f5d23f231a3d8bf580bc/pkg/oci/remote/remote.go#L228-L239
- https://github.com/sigstore/cosign/commit/629f5f8fa672973503edde75f84dcd984637629e
- https://github.com/sigstore/cosign/releases/tag/v2.2.4
- https://github.com/sigstore/cosign/security/advisories/GHSA-88jx-383q-w4qc
Affected products (1)
- cpe:2.3:a:sigstore:cosign:*:*:*:*:*:*:*:*
More vulnerabilities in Sigstore Cosign
- CVE-2022-35929 — High (CVSS 7.1): cosign is a container signing and verification utility. In versions prior to 1.10.1 cosign can report a false positive…
- CVE-2026-22703 — Medium (CVSS 5.5): Cosign provides code signing and transparency for containers and binaries. Prior to versions 2.6.2 and 3.0.4, Cosign…
- CVE-2022-36056 — Medium (CVSS 5.5): Cosign is a project under the sigstore organization which aims to make signatures invisible infrastructure. In versions…
- CVE-2026-39395 — Medium (CVSS 4.3): Cosign provides code signing and transparency for containers and binaries. Prior to 3.0.6 and 2.6.3, cosign…
- CVE-2024-29903 — Medium (CVSS 4.2): Cosign provides code signing and transparency for containers and binaries. Prior to version 2.2.4, maliciously-crafted…
- CVE-2026-24122 — Low (CVSS 3.7): Cosign provides code signing and transparency for containers and binaries. In versions 3.0.4 and below, an issuing…
All CVEs affecting Sigstore Cosign →
Other CWE-770 (Allocation of Resources Without Limits or Throttling) vulnerabilities
- CVE-2026-31283 — Critical (CVSS 9.8): In Totara LMS v19.1.5 and before, the forgot password API does not implement rate limiting for the target email…
- CVE-2020-37067 — Critical (CVSS 9.8): Filetto 1.0 FTP server contains a denial of service vulnerability in the FEAT command processing that allows attackers…
- CVE-2021-47875 — Critical (CVSS 9.8): GeoGebra CAS Calculator 6.0.631.0 contains a denial of service vulnerability that allows attackers to crash the…
- CVE-2025-11832 — Critical (CVSS 9.8): Allocation of Resources Without Limits or Throttling vulnerability in Azure Access Technology BLU-IC2, Azure Access…
- CVE-2024-44241 — Critical (CVSS 9.8): The issue was addressed with improved bounds checks. This issue is fixed in iOS 18.1 and iPadOS 18.1, macOS Sequoia…
- CVE-2022-3439 — Critical (CVSS 9.8): Allocation of Resources Without Limits or Throttling in GitHub repository ikus060/rdiffweb prior to 2.5.0.
Browse all CWE-770 (Allocation of Resources Without Limits or Throttling) vulnerabilities →