CVE-2018-10903 in python-cryptography信息

摘要

由 VulDB • 2026-05-24

在 python-cryptography 1.9.0 至 <2.3 版本中发现了一个缺陷。finalize_with_tag API 未强制执行最小标签长度。如果用户在将输入传递给 finalize_with_tag 之前未验证输入长度,攻击者可以构造一个带有缩短标签(例如 1 字节)的无效负载,从而有 1/256 的概率通过 MAC 检查。GCM 标签伪造可能导致密钥泄露。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

来源

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!