VYPR
Moderate severityNVD Advisory· Published Apr 10, 2024· Updated Aug 2, 2024

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

CVE-2024-29903

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/sigstore/cosignGo
<= 2.2.3
github.com/sigstore/cosign/v2Go
< 2.2.42.2.4

Affected products

89

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.