CVE-2023-48223 Vulnerability Analysis & Exploit Details

CVE-2023-48223
Vulnerability Scoring

5.9
/10
Significant Risk

Security assessments indicate that CVE-2023-48223 presents a notable risk, potentially requiring prompt mitigation.

Attack Complexity Details

  • Attack Complexity: High
    Exploits require significant effort and special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2023-48223 Details

Status: Modified

Last updated: 🕣 21 Nov 2024, 08:31 UTC
Originally published on: 🕕 20 Nov 2023, 18:15 UTC

Time between publication and last update: 366 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

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

CVE-2023-48223 Vulnerability Summary

CVE-2023-48223: fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to version 3.3.2, the fast-jwt library does not properly prevent JWT algorithm confusion for all public key types. The 'publicKeyPemMatcher' in 'fast-jwt/src/crypto.js' does not properly match all common PEM formats for public keys. To exploit this vulnerability, an attacker needs to craft a malicious JWT token containing the HS256 algorithm, signed with the public RSA key of the victim application. This attack will only work if the victim application utilizes a public key containing the `BEGIN RSA PUBLIC KEY` header. Applications using the RS256 algorithm, a public key with a `BEGIN RSA PUBLIC KEY` header, and calling the verify function without explicitly providing an algorithm, are vulnerable to this algorithm confusion attack which allows attackers to sign arbitrary payloads which will be accepted by the verifier. Version 3.3.2 contains a patch for this issue. As a workaround, change line 29 of `blob/master/src/crypto.js` to include a regular expression.

Assessing the Risk of CVE-2023-48223

Access Complexity Graph

The exploitability of CVE-2023-48223 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2023-48223

CVE-2023-48223 presents a challenge to exploit due to its high attack complexity, but the absence of privilege requirements still makes it a viable target for skilled attackers. A thorough security review is advised.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2023-48223, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2023-48223, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2023-48223 has no significant impact on data confidentiality.
  • Integrity: High
    CVE-2023-48223 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: None
    CVE-2023-48223 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.081% (probability of exploit)

EPSS Percentile: 37.68% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 62.32% of others.

CVE-2023-48223 References

External References

CWE Common Weakness Enumeration

NVD-CWE-noinfo

Vulnerable Configurations

  • cpe:2.3:a:nearform:fast-jwt:-:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:-:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.1.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.1.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.3.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.3.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.3.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.3.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.4.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.4.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.4.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.4.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.4.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.4.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.5.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.5.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:0.5.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:0.5.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.1.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.1.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.1.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.1.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.1.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.1.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.3.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.3.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.3.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.3.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.3.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.3.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.4.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.4.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.4.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.4.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.5.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.5.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.5.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.5.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.5.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.5.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.5.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.5.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.5.4:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.5.4:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.6.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.6.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.6.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.6.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.7.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.7.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.7.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.7.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:1.7.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:1.7.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:2.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:2.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:2.0.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:2.0.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:2.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:2.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:2.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:2.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:2.2.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:2.2.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:2.2.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:2.2.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:2.2.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:2.2.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:3.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:3.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:3.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:3.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:3.1.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:3.1.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:3.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:3.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:3.3.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:3.3.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:nearform:fast-jwt:3.3.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:nearform:fast-jwt:3.3.1:*:*:*:*:node.js:*:*

Protect Your Infrastructure against CVE-2023-48223: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-46328 – snowflake-connector-nodejs is a NodeJS driver for Snowflake. Versions starting from 1.10.0 to before 2.0.4, are vulnerable to a Time-of-Check to Ti...
  • CVE-2025-46327 – gosnowflake is the Snowflake Golang driver. Versions starting from 1.7.0 to before 1.13.3, are vulnerable to a Time-of-Check to Time-of-Use (TOCTOU...
  • CVE-2025-46326 – snowflake-connector-net is the Snowflake Connector for .NET. Versions starting from 2.1.2 to before 4.4.1, are vulnerable to a Time-of-Check to Tim...
  • CVE-2025-4039 – A vulnerability was found in PHPGurukul Rail Pass Management System 1.0. It has been rated as critical. Affected by this issue is some unknown func...
  • CVE-2025-4038 – A vulnerability was found in code-projects Train Ticket Reservation System 1.0. It has been declared as critical. Affected by this vulnerability is...