中危 libp2p go-libp2p-0.29.0不加限制或调节的资源分配漏洞(CVE-2023-39533)
CVE编号
CVE-2023-39533利用情况
暂无补丁情况
官方补丁披露时间
2023-08-09漏洞描述
go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one's application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue.解决建议
"将组件 github.com/libp2p/go-libp2p/core/crypto 升级至 0.29.1 及以上版本""将组件 github.com/libp2p/go-libp2p/core/crypto 升级至 0.27.8 及以上版本""将组件 github.com/libp2p/go-libp2p/core/crypto 升级至 0.28.2 及以上版本""将组件 github.com/libp2p/go-libp2p 升级至 0.27.8 及以上版本""将组件 github.com/libp2p/go-libp2p 升级至 0.28.2 及以上版本"受影响软件情况
| # | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
| 1 | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| 运行在以下环境 | |||||||||
| 应用 | golang | go | * | Up to (excluding) 1.19.12 | |||||
| 运行在以下环境 | |||||||||
| 应用 | golang | go | * | From (including) 1.20.0 | Up to (excluding) 1.20.7 | ||||
| 运行在以下环境 | |||||||||
| 应用 | libp2p | go-libp2p | * | Up to (excluding) 0.27.8 | |||||
| 运行在以下环境 | |||||||||
| 应用 | libp2p | go-libp2p | * | From (including) 0.28.0 | Up to (excluding) 0.28.2 | ||||
| 运行在以下环境 | |||||||||
| 应用 | libp2p | go-libp2p | 0.29.0 | - | |||||
| 运行在以下环境 | |||||||||
| 应用 | quic_project | quic | * | Up to (excluding) 0.37.2 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
| CWE-ID | 漏洞类型 |
| CWE-770 | 不加限制或调节的资源分配 |
Exp相关链接
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!








评论