中危 命令“go get”可能会意外回退到 cmd/go 中不安全的 git (CVE-2023-45285)
CVE编号
CVE-2023-45285利用情况
暂无补丁情况
官方补丁披露时间
2023-12-07漏洞描述
Using go get to fetch a module with the ".git" suffix may unexpectedly fallback to the insecure "git://" protocol if the module is unavailable via the secure "https://" and "git+ssh://" protocols, even if GOINSECURE is not set for said module. This only affects users who are not using the module proxy and are fetching modules directly (i.e. GOPROXY=off).解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://go.dev/cl/540257 | |
https://go.dev/issue/63845 | |
https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ | |
https://pkg.go.dev/vuln/GO-2023-2383 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | golang | go | * | Up to (excluding) 1.20.12 | |||||
运行在以下环境 | |||||||||
应用 | golang | go | * | From (including) 1.21.0-0 | Up to (excluding) 1.21.5 | ||||
运行在以下环境 | |||||||||
系统 | 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 | 漏洞类型 |
NVD-CWE-noinfo |
Exp相关链接

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