cve.bz

CVE-2024-29903

7.5 highEPSS 0.9%

High (7.5) in sigstore cosign. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in github.com/sigstore/cosign/v2 2.2.4.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% chance of exploitation in the next 30 days; higher than 58% of CVEs (scores of 2026-10-31)
CWE
CWE-770
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-95pr-fxf5-86gvGogithub.com/sigstore/cosign<=2.2.3no fix published
GHSA-95pr-fxf5-86gvGogithub.com/sigstore/cosign/v2<2.2.42.2.4
GO-2024-2719Gogithub.com/sigstore/cosignall versionsno fix published
GO-2024-2719Gogithub.com/sigstore/cosign/v2<2.2.42.2.4

References

Check your stackJSON