CVE-2024-21664 MEDIUM

CVE-2024-21664: Parsing JSON serialized payload without protected field can lead to segfault

Vendor Lestrrat-Go
Product jwx
Weakness CWE-476
Published January 9, 2024
Last update June 17, 2025

CVSS base score

4.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality None
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 9, 2024 CVE published
June 17, 2025 Record updated