CVE-2024-29903 Affecting gitsign package, versions <0.10.1-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-GITSIGN-6611779
  • published13 Apr 2024
  • disclosed10 Apr 2024

Introduced: 10 Apr 2024

CVE-2024-29903  (opens in a new tab)

How to fix?

Upgrade Chainguard gitsign to version 0.10.1-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitsign package and not the gitsign package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Scores

version 3.1