CVE-2022-23539: auth0 jsonwebtoken
Vulnerability summary
CVE-2022-23539 is a high (CVSS 8.1) vulnerability in auth0 jsonwebtoken. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.6% of scored vulnerabilities.
Timeline
- 22-12-2022PublishedVulnerability first disclosed.
- 15-04-2025Last modifiedVulnerability information updated.
Description
Versions `<=8.5.1` of `jsonwebtoken` library could be misconfigured so that legacy, insecure key types are used for signature verification. For example, DSA keys could be used with the RS256 algorithm. You are affected if you are using an algorithm and a key type other than a combination listed in the GitHub Security Advisory as unaffected. This issue has been fixed, please update to version 9.0.0. This version validates for asymmetric key type and algorithm combinations. Please refer to the above mentioned algorithm / key type combinations for the valid secure configuration. After updating to version 9.0.0, if you still intend to continue with signing or verifying tokens using invalid key type/algorithm value combinations, you’ll need to set the `allowInvalidAsymmetricKeyTypes` option to `true` in the `sign()` and/or `verify()` functions.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:NDiffers
- OSV · NpmEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
+0.02 pp
From 0.48% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Auth02 products
- jsonwebtoken≤ 8.5.1
- node-jsonwebtoken≤ 8.5.1
Npm1 product
- jsonwebtoken< 9.0.0
2 vendors · 3 products
References
6 links- github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-8cf7-32gw-wr33X Refsource CONFIRMWEBThird Party Advisory
- github.com/auth0/node-jsonwebtoken/commit/e1fa9dcc12054a8681db4e6373da1b30cf7016e3X Refsource MISCWEBPatchThird Party Advisory