漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
joserfc accepts JWT with padding, leading to JWT malleability
Vulnerability Description
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. in versions 1.7.1 and prior, joserfc accepts JWTs with trailing padding (==) which are not conforming to the JOSE specifications. This leads to malleability of the JWTs when consumed by joserfc. Depending on this application this might or not be an issue. This could lead to bypass of token revocation or anti-replay protection when implemented as a deny list of tokens or a deny list of token hashes. Note that ECDSA JWS are always malleable because of the malleability of ECDSA signatures (first test case in the code bellow). This makes a scheme which assumes that JWTs are not malleable brittle. However for other signatures (or MAC) schemes it might make sense to assume non malleability of the token. This issue has been fixed in version 1.7.2.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
对数据真实性的验证不充分
Vulnerability Title
Authlib joserfc 输入验证错误漏洞
Vulnerability Description
Authlib joserfc是Authlib组织开源的一个 Python 库,全面实现了 JOSE(JSON Object Signing and Encryption)系列标准,包括 JWS、JWE、JWK、JWT 等 RFC 规范,用于安全地处理 JSON 数据的签名与加密。 Authlib joserfc 1.7.2之前版本存在输入验证错误漏洞,该漏洞源于接受带有尾部填充(==)的JWT,不符合JOSE规范,可能导致绕过令牌撤销或防重放保护。
CVSS Information
N/A
Vulnerability Type
N/A