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
python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
Vulnerability Description
python-cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In versions 42.0.0 through 48.0.0, when resolving invalid certificate chains that include duplicate copies of self-signed certificates, the processing recursively invokes the same candidate, leading to an exponential blowup. Although the limitation that the chain depth cannot exceed a specified maximum depth prevents unbounded recursion and guarantees termination, an attacker-controlled certificate chain can lead the processing to easily take more than 5s to reject in testing. This amplification could form the basis for a resource exhaustion denial of service attack. The core issue arises in the recursive nature of build_chain_inner, which does not de-duplicate against previously analyzed candidates. As the correctness of validation is not affected, the integrity of a system cannot be compromised through this vector, only its availability. This issue is fixed in 49.0.0.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Vulnerability Title
pyca cryptography 资源管理错误漏洞
Vulnerability Description
Python Cryptographic Authority cryptography是Python Cryptographic Authority组织开源的一款密码学工具库。 pyca cryptography 49.0.0之前版本存在资源管理错误漏洞,该漏洞源于解析无效证书链时递归处理重复的自签名证书,未对已分析候选去重,导致计算量指数级增长,可能造成资源耗尽拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A