路径/文件路径中带有 \??\ 前缀的 Windows 路径不安全解析 (CVE-2023-45283)

admin 2023-11-29 18:20:08 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 路径/文件路径中带有 \??\ 前缀的 Windows 路径不安全解析 (CVE-2023-45283)

CVE编号

CVE-2023-45283

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-11-10
漏洞描述
The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x is equivalent to the more common path c:\x. Before fix, Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. Clean will now convert this to .\??\b. Similarly, Join(\, ??, b) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. Join will now convert this to \.\??\b. In addition, with fix, IsAbs now correctly reports paths beginning with \??\ as absolute, and VolumeName correctly reports the \??\ prefix as a volume name.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://go.dev/cl/540277
https://go.dev/issue/63713
https://groups.google.com/g/golang-announce/c/4tU8LZfBFkY
https://pkg.go.dev/vuln/GO-2023-2185
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 golang go * Up to (excluding) 1.20.11
运行在以下环境
应用 golang go * From (including) 1.21.0-0 Up to (excluding) 1.21.4
运行在以下环境
系统 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.19 * Up to (including) 1.19.13-1
运行在以下环境
系统 microsoft windows - -
阿里云评分 6.2
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 越权影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0