CVE-2023-48223

CVSS 3.1 Score 5.9 of 10 (medium)

Details

Published Nov 20, 2023
Updated: Nov 29, 2023
CWE ID 20

Summary

CVE-2023-48223 is a vulnerability that affects the fast-jwt library prior to version 3.3.2. The vulnerability allows for algorithm confusion in JSON Web Tokens (JWT) for all public key types. An attacker can exploit this by crafting a malicious JWT token containing the HS256 algorithm and signing it with the victim application's public RSA key. This attack is only successful if the victim application uses a public key with the "BEGIN RSA PUBLIC KEY" header and does not explicitly provide an algorithm when calling the verify function. The potential danger is that attackers can sign arbitrary payloads that will be accepted by the verifier. The issue has been patched in version 3.3.2, and a workaround involves changing line 29 of src/crypto.js.

Explore Beyond the CVE Basics with Recorded Future's Vulnerability Intelligence

Note: This is just a basic overview providing quick insights into CVE-2023-48223 information. Gain full access to comprehensive CVE data, risk scores, prioritization, and mitigation data through Recorded Future's Vulnerability Intelligence:
  • Prioritize with Risk-Based Scoring
  • Explore the Extensive Vulnerability Database
  • Receive Early Alerts on Emerging CVEs
  • Focus on Critical Exploitable Vulnerabilities
  • Streamline Remediation with Integration Options