Live threats

All CVEs / Sigstore

CVE-2024-29903Sigstore Cosign

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 61
Auth required
No
Published
Apr 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cosign.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/sigstore/cosign ≤ 2.2.3 no fixed version —
Go github.com/sigstore/cosign all no fixed version —
Go github.com/sigstore/cosign/v2 < 2.2.4 2.2.4 go get github.com/sigstore/cosign/v2@v2.2.4
Go github.com/sigstore/cosign/v2 < 2.2.4 2.2.4 go get github.com/sigstore/cosign/v2@v2.2.4

Per OSV / GitHub Advisories (GHSA-95pr-fxf5-86gv, GO-2024-2719). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sigstorecosign< 2.2.4

Official sources

References

Links published by the sources. Open them with care.