Gradle 对复制或归档操作中使用的符号链接文件的权限分配不正确 (CVE-2023-44387)

admin 2023-11-29 20:51:57 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 Gradle 对复制或归档操作中使用的符号链接文件的权限分配不正确 (CVE-2023-44387)

CVE编号

CVE-2023-44387

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-10-06
漏洞描述
Gradle is a build tool with a focus on build automation and support for multi-language development. When copying or archiving symlinked files, Gradle resolves them but applies the permissions of the symlink itself instead of the permissions of the linked file to the resulting file. This leads to files having too much permissions given that symlinks usually are world readable and writeable. While it is unlikely this results in a direct vulnerability for the impacted build, it may open up attack vectors depending on where build artifacts end up being copied to or un-archived. In versions 7.6.3, 8.4 and above, Gradle will now properly use the permissions of the file pointed at by the symlink to set permissions of the copied or archived file.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/gradle/gradle/commit/3b406191e24d69e7e42dc3f3b5cc50625aa930b7
https://github.com/gradle/gradle/releases/tag/v7.6.3
https://github.com/gradle/gradle/releases/tag/v8.4.0
https://github.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9
https://security.netapp.com/advisory/ntap-20231110-0006/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 gradle gradle * Up to (excluding) 7.6.3
运行在以下环境
应用 gradle gradle * From (including) 8.0.0 Up to (excluding) 8.4.0
运行在以下环境
系统 debian_10 gradle * Up to (including) 4.4.1-6
运行在以下环境
系统 debian_11 gradle * Up to (including) 4.4.1-13
运行在以下环境
系统 debian_12 gradle * Up to (including) 4.4.1-18
运行在以下环境
系统 debian_sid gradle * Up to (including) 4.4.1-20
阿里云评分 6.1
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 普通权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-732 关键资源的不正确权限授予
- 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