Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-23539— jsonwebtoken unrestricted key type could lead to legacy keys usage

Quick assessment

Affected
auth0 node-jsonwebtoken
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

jsonwebtoken是Auth0开源的一个 JSON Web 令牌的实现。 jsonwebtoken 8.5.1版本及之前版本存在加密问题漏洞,该漏洞源于旧的、不安全的密钥类型用于签名验证。

CVSS 5.9 · Medium EPSS 0.50% · P41

Possible ATT&CK Techniques 1 AI

T1556 · Modify Authentication Process
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-23539

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
jsonwebtoken unrestricted key type could lead to legacy keys usage
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用已被攻破或存在风险的密码学算法
Source: CVE Program / CVE List V5
Vulnerability Title
jsonwebtoken 加密问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
jsonwebtoken是Auth0开源的一个 JSON Web 令牌的实现。 jsonwebtoken 8.5.1版本及之前版本存在加密问题漏洞,该漏洞源于旧的、不安全的密钥类型用于签名验证。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
auth0 node-jsonwebtoken <= 8.5.1 -

II. Public POCs for CVE-2022-23539

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-23539

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-23539 (1)

Vendor Advisories for CVE-2022-23539 (2)

Same Patch Batch · auth0 · 2022-12-22 · 3 CVEs total

CVE-2022-23540 6.4 MEDIUM jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm i
CVE-2022-23541 5.0 MEDIUM jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable P

IV. Related Vulnerabilities

V. Comments for CVE-2022-23539

No comments yet


Leave a comment