CVE-2023-48223
5.9 · MEDIUMfast-jwt provides fast JSON Web Token (JWT) implementation.
Overview
CVE-2023-48223 is a medium-severity vulnerability. It was published on November 20, 2023 and has a CVSS 3.1 base score of 5.9 (MEDIUM).
This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
Technical description
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/crypt
Remediation
Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
References
How CyberStrike helps
Reason, not just scan
It reasons through your app's logic the way a human pentester would, so it finds flaws signature scanners miss.
Learn moreVerified findings
Every finding is proven exploitable before you see it, which cuts the false positives that bury real risk.
Learn moreAI-driven DAST and SAST
Probe running apps and read source from one engine, so issues are caught before and after they ship.
Learn moreOpen source
Read exactly how it tests and what it reports. CyberStrike is open source and in early access.
View the repo
Frequently asked questions
What is CVE-2023-48223?
CVE-2023-48223 is a medium-severity vulnerability. It was published on November 20, 2023 and has a CVSS 3.1 base score of 5.9 (MEDIUM).
How severe is CVE-2023-48223?
This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
How do I fix or remediate CVE-2023-48223?
Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2023-48223?
CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-48223 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.
Related MEDIUM CVEs from 2023
View all- 6.9CVE-2023-25562
DataHub is an open-source metadata platform. In versions of DataHub prior to 0.8.45 Session cookies
View details - 6.9CVE-2022-34397
Dell Unisphere for PowerMax vApp, VASA Provider vApp, and Solution Enabler vApp version 10.0.0.5 an
View details - 6.9CVE-2023-26107
All versions of the package sketchsvg are vulnerable to Arbitrary Code Injection when invoking shell
View details - 6.9CVE-2023-28999
Nextcloud is an open-source productivity platform. In Nextcloud Desktop client 3.0.0 until 3.8.0, Ne
View details - 6.9CVE-2022-46361
An attacker having physical access to WDM can plug USB device to gain access and execute unwanted co
View details - 6.9CVE-2023-35946
Gradle is a build tool with a focus on build automation and support for multi-language development.
View details - 6.9CVE-2023-35947
Gradle is a build tool with a focus on build automation and support for multi-language development.
View details - 6.9CVE-2023-30564
Alaris Systems Manager does not perform input validation during the Device Import Function.
View details - 6.9CVE-2022-44611
Improper input validation in the BIOS firmware for some Intel(R) Processors may allow a privileged u
View details - 6.9CVE-2023-28075
Dell BIOS contain a Time-of-check Time-of-use vulnerability in BIOS. A local authenticated maliciou
View details - 6.9CVE-2023-4816
A vulnerability exists in the Equipment Tag Out authentication, when configured with Single Sign-On
View details - 6.9CVE-2023-41333
Cilium is a networking, observability, and security solution with an eBPF-based dataplane. An attack
View details
