CVE-2024-21664 - CVE House
Back to Database
Status published Medium CVE-2024-21664

Parsing JSON serialized payload without protected field can lead to segfault

Vulnerability 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 versions 2.0.19 and 1.2.28.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-21664

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

lestrrat-go

View all reports →

Affected Software

jwx
Vulnerable Versions:
>= 2.0.0, < 2.0.19, >= 1.0.8, < 1.2.28

Timeline

Official Publish: January 9th, 2024
Last Modified: June 17th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Weaknesses (CWE)