AEAD、Subtle API
- 受影响的版本
- Tink C++ 1.0 - 1.3.x
- 受影响的密钥类型
- Subtle API、AES-CTR-HMAC 和 EncryptThenAuthenticate。
说明
在 1.4.0 版之前,AES-CTR-HMAC-AEAD 密钥和 EncryptThenAuthenticate 细微实现可能容易受到所选密文攻击。当且仅当满足以下所有条件时,攻击者才能生成绕过 HMAC 验证的密文:
- Tink C++ 用于
size_t
为 32 位整数的系统。在 32 位计算机上,通常就是如此。
- 攻击者可以指定较长的相关数据(>= 2^29 个字节或约 536MB)。
Snap 安全团队的 Quan Nguyen 报告了此问题。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[null,null,["最后更新时间 (UTC):2023-12-01。"],[[["Tink C++ versions 1.0 to 1.3.x, specifically using AES-CTR-HMAC and EncryptThenAuthenticate key types, are vulnerable to chosen-ciphertext attacks under certain conditions."],["The vulnerability can be exploited on 32-bit systems when attackers provide associated data exceeding 2^29 bytes in length."],["Exploiting this vulnerability allows attackers to bypass HMAC verification and potentially decrypt ciphertexts."],["This vulnerability is fixed in Tink C++ version 1.4.0 and later."]]],[]]