NULL pointer dereference in jwx - CVE-2024-21664

 

NULL pointer dereference in jwx - CVE-2024-21664

Published: December 13, 2024


Vulnerability identifier: #VU101763
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-21664
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: lestrrat-go
Affected software:
jwx

Detailed vulnerability 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.


How to mitigate CVE-2024-21664

Install updates from vendor's website.

Sources