Vulnerability Information
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
ReDoS in fast-jwt when using RegExp in allowed* leading to CPU exhaustion during token verification
Vulnerability Description
fast-jwt provides fast JSON Web Token (JWT) implementation. From 5.0.0 to 6.2.0, a denial-of-service condition exists in fast-jwt when the allowedAud verification option is configured using a regular expression. Because the aud claim is attacker-controlled and the library evaluates it against the supplied RegExp, a crafted JWT can trigger catastrophic backtracking in the JavaScript regex engine, resulting in significant CPU consumption during verification. This vulnerability is fixed in 6.2.1.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
Vulnerability Type
CWE-1333
Vulnerability Title
fast-jwt 安全漏洞
Vulnerability Description
fast-jwt是Nearform开源的一个 JSON Web Token 实现。 fast-jwt 6.2.0及之前版本存在安全漏洞,该漏洞源于allowedAud验证选项使用正则表达式时,攻击者控制的aud声明可能触发灾难性回溯,导致验证期间CPU消耗过高。
CVSS Information
N/A
Vulnerability Type
N/A