中危 在 Go 1.20 之前,crypto/tls 中基于 RSA 的密钥交换方法可能会出现定时侧通道 (CVE-2023-45287)
CVE编号
CVE-2023-45287利用情况
暂无补丁情况
官方补丁披露时间
2023-12-06漏洞描述
Before Go 1.20, the RSA based TLS key exchanges used the math/big library, which is not constant time. RSA blinding was applied to prevent timing attacks, but analysis shows this may not have been fully effective. In particular it appears as if the removal of PKCS#1 padding may leak timing information, which in turn could be used to recover session key bits. In Go 1.20, the crypto/tls library switched to a fully constant time RSA implementation, which we do not believe exhibits any timing side channels.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://go.dev/cl/326012/26 | |
https://go.dev/issue/20654 | |
https://groups.google.com/g/golang-announce/c/QMK8IQALDvA | |
https://people.redhat.com/~hkario/marvin/ | |
https://pkg.go.dev/vuln/GO-2023-2375 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | golang | go | * | Up to (excluding) 1.20.0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | golang-1.11 | * | Up to (including) 1.11.6-1+deb10u4 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | golang-1.15 | * | Up to (including) 1.15.15-1~deb11u4 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | golang-1.19 | * | Up to (including) 1.19.8-2 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | golang-1.20 | * | Up to (excluding) 1.20.12-1 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-203 | 通过差异性导致的信息暴露 |
Exp相关链接

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