中危 AEADs/aes-gcm:即使标签验证失败,明文也会在解密_in_place_detached 中暴露(CVE-2023-42811)
CVE编号
CVE-2023-42811利用情况
暂无补丁情况
官方补丁披露时间
2023-09-23漏洞描述
aes-gcm is a pure Rust implementation of the AES-GCM. Starting in version 0.10.0 and prior to version 0.10.3, in the AES GCM implementation of decrypt_in_place_detached, the decrypted ciphertext (i.e. the correct plaintext) is exposed even if tag verification fails. If a program using the `aes-gcm` crate's `decrypt_in_place*` APIs accesses the buffer after decryption failure, it will contain a decryption of an unauthenticated input. Depending on the specific nature of the program this may enable Chosen Ciphertext Attacks (CCAs) which can cause a catastrophic breakage of the cipher including full plaintext recovery. Version 0.10.3 contains a fix for this issue.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | aes-gcm_project | aes-gcm | * | From (including) 0.10.0 | Up to (excluding) 0.10.3 | ||||
运行在以下环境 | |||||||||
系统 | fedora_37 | firecracker-debugsource | * | Up to (excluding) 1.4.1-3.fc37 | |||||
运行在以下环境 | |||||||||
系统 | fedora_38 | firecracker-debugsource | * | Up to (excluding) 1.4.1-3.fc38 | |||||
运行在以下环境 | |||||||||
系统 | fedora_39 | firecracker-debugsource | * | Up to (excluding) 1.4.1-3.fc39 | |||||
运行在以下环境 | |||||||||
系统 | fedora_40 | firecracker-debugsource | * | Up to (excluding) 1.4.1-3.fc40 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_9 | rust-aes-gcm+arrayvec-devel | * | Up to (excluding) 0.10.3-1.el9 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 管控权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-347 | 密码学签名的验证不恰当 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论