NULL Pointer Dereference Affecting gitsign package, versions <0.8.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (30th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-GITSIGN-6243586
  • published13 Feb 2024
  • disclosed9 Jan 2024

Introduced: 9 Jan 2024

CVE-2024-21664  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Chainguard gitsign to version 0.8.1-r0 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.

jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. Calling jws.Parse with a JSON serialized payload where the signature field is present while protected is absent can lead to a nil pointer dereference. The vulnerability can be used to crash/DOS a system doing JWS verification. This vulnerability has been patched in versions 2.0.19 and 1.2.28.

CVSS Scores

version 3.1