In versions `<=8.5.1` of `jsonwebtoken` library, lack of algorithm definition in the `jwt.verify()` function can lead to signature validation bypass due to defaulting to the `none` algorithm for signature verification. Users are affected if you do not specify algorithms in the `jwt.verify()` function. This issue has been fixed, please update to version 9.0.0 which removes the default support for the none algorithm in the `jwt.verify()` method. There will be no impact, if you update to version 9.0.0 and you don’t need to allow for the `none` algorithm. If you need 'none' algorithm, you have to explicitly specify that in `jwt.verify()` options.
Published 2022-12-22 19:15:09
Updated 2024-06-21 19:15:23
Source GitHub, Inc.
View at NVD,   CVE.org

Products affected by CVE-2022-23540

Exploit prediction scoring system (EPSS) score for CVE-2022-23540

0.09%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 41 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2022-23540

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
7.6
HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
2.8
4.7
NIST
6.4
MEDIUM CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
1.6
4.7
GitHub, Inc.

CWE ids for CVE-2022-23540

References for CVE-2022-23540

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!