GHSA-8cf7-32gw-wr33 · Severity: high · Ecosystem: npm — jsonwebtoken unrestricted key type could lead to legacy keys usage
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.
Conclusion & alert: CVE-2022-23539 is rated Low Risk (31.2/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.06%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2023-03-31 | 0.05% | 0.06% | +0.01% |
| 2 | 2023-03-07 | 0.89% | 0.05% | -0.84% |
| 3 | 2022-12-23 | — | 0.89% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
1.6 | 4.2 | [email protected] |
| 8.1 | 3.1 | HIGH |
|
2.8 | 5.2 | [email protected] |
GHSA-8cf7-32gw-wr33 · Severity: high · Ecosystem: npm — jsonwebtoken unrestricted key type could lead to legacy keys usage
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-23539 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| auth0 | jsonwebtoken | <= 8.5.1 | cpe:2.3:a:auth0:jsonwebtoken:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/auth0/node-jsonwebtoken/commit/e1fa9dcc12054a8681db4e6373da1b30cf7016e3 | Patch Third Party Advisory |
| https://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-8cf7-32gw-wr33 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20240621-0007/ |