中危 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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
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 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-732 | 关键资源的不正确权限授予 |
Exp相关链接

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