Resource exhaustion in Sigstore Cosign
CVE-2024-29903
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.009 (56.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
- Sigstore Cosign — versions < 2.2.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/sigstore/cosign/security/advisories/GHSA-95pr-fxf5-86gv (Exploit, Vendor Advisory)
- github.com/sigstore/cosign/commit/629f5f8fa672973503edde75f84dcd984637629e (Patch)
- github.com/sigstore/cosign/blob/14795db16417579fac0c00c11e166868d7976b61/pkg/co… (Product)
- github.com/sigstore/cosign/blob/286a98a4a99c1b2f32f84b0d560e324100312280/pkg/oc… (Product)
- github.com/sigstore/cosign/releases/tag/v2.2.4 (Release Notes)
Frequently asked questions
- What is CVE-2024-29903?
- CVE-2024-29903 is a medium-severity vulnerability in Sigstore Cosign, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 4.2/10. Published 2024-04-10.
- How severe is CVE-2024-29903?
- Medium severity. CVSS v3 base score is 4.2 out of 10.
- Is CVE-2024-29903 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.