ADVISORIES

Vulnerability

CVE-2024-21664

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.

44 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Chainguard 42Wolfi 30Go 2

Advisories in Go

  • GHSA-pvcr-v8j8-j5q3

    Parsing JSON serialized payload without protected field can lead to segfault

    Moderate CVE-2024-21664 Go Updated 10 September 2026
  • GO-2024-2454

    Panic due to nil pointer dereference in github.com/lestrrat-go/jwx/v2

    CVE-2024-21664 Go Updated 4 February 2026

References