PT-2024-23124 · Cosign+1 · Cosign+1

Adamkorcz

+1

·

Published

2024-04-10

·

Updated

2025-01-09

·

CVE-2024-29903

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Cosign versions prior to 2.2.4
Description Cosign provides code signing and transparency for containers and binaries. 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.
Recommendations Update to version 2.2.4 or later, where the number of attestations, signatures, and manifests has been limited to a reasonable value. As a temporary workaround, consider restricting the use of untrusted artifacts to minimize the risk of exploitation.

Exploit

Fix

DoS

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

BIT-COSIGN-2024-29903
CVE-2024-29903
GHSA-95PR-FXF5-86GV
GO-2024-2719
OPENSUSE-SU-2024:13863-1
OPENSUSE-SU-2024_1486-1
OPENSUSE-SU-2024_1486-2
SUSE-SU-2024:1486-1
SUSE-SU-2024:1486-2

Affected Products

Cosign
Suse