CVE-2024-21664

Parsing JSON serialized payload without protected field can lead to segfault

Published Jan 9, 2024 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0395 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.
Github GHSA Github GHSA GHSA-pvcr-v8j8-j5q3 Parsing JSON serialized payload without protected field can lead to segfault
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 17, 2025, 8:59 PM
Reserved
Dec 29, 2023, 4:10 PM
Status
Modified
Published
Jan 9, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:09 AM
Severity
Moderate
Public date
Jan 9, 2024, 12:00 AM