5.3
MEDIUM CVSS 3.1
CVE-2023-49290
Malicious parameters can cause a denial of service in lestrrat-go/jwx
Description

lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE's algorithm PBES2-* could lead to a denial of service. The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource- intensive. Therefore, if an attacker sets the p2c parameter in JWE to a very large number, it can cause a lot of computational consumption, resulting in a denial of service. This vulnerability has been addressed in commit `64f2a229b` which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.

INFO

Published Date :

Dec. 5, 2023, 12:15 a.m.

Last Modified :

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

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2023-49290 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 MEDIUM [email protected]
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-49290.

URL Resource
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c Patch
https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf Exploit Vendor Advisory
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c Patch
https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-49290 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-2023-49290 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-2023-49290 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-49290 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/64f2a229b8e18605f47361d292b526bdc4aee01c
    Added Reference https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Mar. 04, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* versions up to (including) 1.2.27 *cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.18 OR *cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* versions up to (excluding) 1.2.27 *cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.18
  • Initial Analysis by [email protected]

    Dec. 08, 2023

    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:L
    Changed Reference Type https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c No Types Assigned https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c Patch
    Changed Reference Type https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf No Types Assigned https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf Exploit, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* versions up to (including) 1.2.27 *cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.18
  • CVE Received by [email protected]

    Dec. 05, 2023

    Action Type Old Value New Value
    Added Description lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE's algorithm PBES2-* could lead to a denial of service. The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource- intensive. Therefore, if an attacker sets the p2c parameter in JWE to a very large number, it can cause a lot of computational consumption, resulting in a denial of service. This vulnerability has been addressed in commit `64f2a229b` which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.
    Added Reference GitHub, Inc. https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf [No types assigned]
    Added Reference GitHub, Inc. https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c [No types assigned]
    Added CWE GitHub, Inc. CWE-400
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:N/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: 5.3
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.18 }} 0.05%

score

0.40547

percentile