NULL Pointer Dereference Affecting spire-server package, versions <1.8.7-r2


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.86% (54th 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-SPIRESERVER-6186745
  • published24 Jan 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 spire-server to version 1.8.7-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream spire-server package and not the spire-server 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 Base Scores

version 3.1