CVE-2024-29903CWE-770

Cosign vulnerable to machine-wide denial of service via malicious artifacts

Medium · published April 10, 2024

CVSS v3.1
4.2
EPSS
1%
Percentile
57.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00851 · 57.8th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2024-04-10T22:30Z
EPSS history
Timeline
  • 10 APR 22:30Z
    Cosign vulnerable to machine-wide denial of service via malicious artifacts
    cvelistv5