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`.

Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2023-48223 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions