漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
LibJWT: Algorithm confusion allows JWT forgery with RSA JWK as empty-key HMAC
Vulnerability Description
LibJWT is a C JSON Web Token Library. From 3.0.0 to 3.3.2, libjwt accepts an RSA JWK that does not contain an alg parameter as the verification key for an HS256/HS384/HS512 token. In the OpenSSL backend, this causes HMAC verification to run with a zero-length key, so an attacker can forge a valid JWT without knowing any secret or RSA private key. This is an algorithm-confusion authentication bypass. It affects applications that load RSA keys from JWKS where alg is omitted, which is valid JWK syntax and common in real deployments, and then choose the verification algorithm from the JWT header, for example in a kid lookup callback. This vulnerability is fixed in 3.3.3.
CVSS Information
N/A
Vulnerability Type
使用已被攻破或存在风险的密码学算法
Vulnerability Title
libjwt 加密问题漏洞
Vulnerability Description
libjwt是Ben Collins个人开发者的一个用于生成和验证JSON Web Token的C语言库。 LibJWT 3.0.0版本至3.3.2版本存在加密问题漏洞,该漏洞源于接受不含alg参数的RSA JWK作为HS256/HS384/HS512令牌的验证密钥,可能导致攻击者伪造有效JWT绕过身份验证。
CVSS Information
N/A
Vulnerability Type
N/A