CVE编号
CVE-2021-29428利用情况
暂无补丁情况
官方补丁披露时间
2021-04-14漏洞描述
In Gradle before version 7.0, on Unix-like systems, the system temporary directory can be created with open permissions that allow multiple users to create and delete files within it. Gradle builds could be vulnerable to a local privilege escalation from an attacker quickly deleting and recreating files in the system temporary directory. This vulnerability impacted builds using precompiled script plugins written in Kotlin DSL and tests for Gradle plugins written using ProjectBuilder or TestKit. If you are on Windows or modern versions of macOS, you are not vulnerable. If you are on a Unix-like operating system with the "sticky" bit set on your system temporary directory, you are not vulnerable. The problem has been patched and released with Gradle 7.0. As a workaround, on Unix-like operating systems, ensure that the "sticky" bit is set. This only allows the original user (or root) to delete a file. If you are unable to change the permissions of the system temporary directory, you can move the Java temporary directory by setting the System Property `java.io.tmpdir`. The new path needs to limit permissions to the build user only. For additional details refer to the referenced GitHub Security Advisory.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://docs.gradle.org/7.0/release-notes.html#security-advisories | |
https://github.com/gradle/gradle/pull/15240 | |
https://github.com/gradle/gradle/pull/15654 | |
https://github.com/gradle/gradle/security/advisories/GHSA-89qm-pxvm-p336 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | gradle | gradle | * |
Up to (excluding) 7.0 |
|||||
运行在以下环境 | |||||||||
系统 | debian_10 | gradle | * |
Up to (excluding) 4.4.1-6 |
|||||
运行在以下环境 | |||||||||
系统 | debian_11 | gradle | * |
Up to (excluding) 4.4.1-13 |
|||||
运行在以下环境 | |||||||||
系统 | debian_12 | gradle | * |
Up to (excluding) 4.4.1-13 |
|||||
运行在以下环境 | |||||||||
系统 | debian_9 | gradle | * |
Up to (excluding) 3.2.1-1 |
|||||
运行在以下环境 | |||||||||
系统 | debian_sid | gradle | * |
Up to (excluding) 4.4.1-13 |
|||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 N/A
- 补丁情况 官方补丁
- 数据保密性 N/A
- 数据完整性 传输被破坏
- 服务器危害 DoS
- 全网数量 N/A
还没有评论,来说两句吧...