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.
Published: 2024-01-09
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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

Tue, 17 Jun 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-06-17T20:59:10.877Z

Reserved: 2023-12-29T16:10:20.367Z

Link: CVE-2024-21664

cve-icon Vulnrichment

Updated: 2024-08-01T22:27:36.099Z

cve-icon NVD

Status : Modified

Published: 2024-01-09T20:15:43.740

Modified: 2024-11-21T08:54:49.440

Link: CVE-2024-21664

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-01-09T00:00:00Z

Links: CVE-2024-21664 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses