Vulnerability CVE-2024-21664


Published: 2024-01-09

Description:
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 version 2.0.19.

Type:

CWE-476

(NULL Pointer Dereference)

 References:
https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3
https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f
https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adcd

Copyright 2026, cxsecurity.com

 

Back to Top