7.5
HIGH CVSS 3.1
CVE-2024-21664
Parsing JSON serialized payload without protected field can lead to segfault
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.

INFO

Published Date :

Jan. 9, 2024, 8:15 p.m.

Last Modified :

Nov. 21, 2024, 8:54 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-21664 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Lestrrat-go jwx
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-21664 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-21664 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-21664 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-21664 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f
    Added Reference https://github.com/lestrrat-go/jwx/commit/8c53d0ae52d5ab1e2b37c5abb67def9e7958fd65
    Added Reference https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adcd
    Added Reference https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 05, 2024

    Action Type Old Value New Value
    Changed 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 version 2.0.19. 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.
    Added Reference GitHub, Inc. https://github.com/lestrrat-go/jwx/commit/8c53d0ae52d5ab1e2b37c5abb67def9e7958fd65 [No types assigned]
  • Initial Analysis by [email protected]

    Jan. 16, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f No Types Assigned https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f Patch
    Changed Reference Type https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adcd No Types Assigned https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adcd Patch
    Changed Reference Type https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3 No Types Assigned https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3 Exploit, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* versions up to (excluding) 2.0.19
  • CVE Received by [email protected]

    Jan. 09, 2024

    Action Type Old Value New Value
    Added 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 version 2.0.19.
    Added Reference GitHub, Inc. https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f [No types assigned]
    Added Reference GitHub, Inc. https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adcd [No types assigned]
    Added CWE GitHub, Inc. CWE-476
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.13 }} -0.58%

score

0.33550

percentile