中危 密码学签名的验证不恰当
CVE编号
CVE-2023-22742利用情况
暂无补丁情况
官方补丁披露时间
2023-01-21漏洞描述
libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the optional libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of libgit2 require the caller to set the `certificate_check` field of libgit2's `git_remote_callbacks` structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking. This means that by default - without configuring a certificate check callback, clients will not perform validation on the server SSH keys and may be subject to a man-in-the-middle attack. Users are encouraged to upgrade to v1.4.5 or v1.5.1. Users unable to upgrade should ensure that all relevant certificates are manually checked.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | libgit2 | libgit2 | * | Up to (excluding) 1.4.5 | |||||
运行在以下环境 | |||||||||
应用 | libgit2 | libgit2 | 1.5.0 | - | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | libgit2 | * | Up to (excluding) 1.5.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | libgit2 | * | Up to (excluding) 0.27.7+dfsg.1-0.2+deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | libgit2 | * | Up to (excluding) 1.1.0+dfsg.1-4+deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | libgit2 | * | Up to (excluding) 1.5.1+ds-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | libgit2 | * | Up to (excluding) 1.5.1+ds-1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | libgit2-26-32bit | * | Up to (excluding) 1.3.0-150400.3.6.1 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-347 | 密码学签名的验证不恰当 |
Exp相关链接

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