#VU101763 NULL pointer dereference in jwx - CVE-2024-21664
Published: December 13, 2024
jwx
lestrrat-go
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error when calling `jws.Parse` with a JSON serialized payload where the `signature` field is present while `protected` is absent. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.
Remediation
External links
- 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
- https://github.com/lestrrat-go/jwx/commit/8c53d0ae52d5ab1e2b37c5abb67def9e7958fd65