目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2021-29428— Gradle 安全漏洞

一分钟漏洞结论

影响对象
gradle gradle
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Gradle是美国Gradle公司的一套基于JVM的项目构建工具,它支持maven、Ivy仓库等。 Gradle 7.0之前版本存在安全漏洞,该漏洞允许多个用户在其中创建和删除文件的打开权限来创建系统临时目录。

CVSS 8.8 · High EPSS 0.54% · P45

影响版本矩阵 1

厂商产品 版本范围状态
gradle gradle < 7.0 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2021-29428 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Local privilege escalation through system temporary directory
来源: CVE Program / CVE List V5
Vulnerability Description
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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
在具有不安全权限的目录中创建临时文件
来源: CVE Program / CVE List V5
Vulnerability Title
Gradle 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Gradle是美国Gradle公司的一套基于JVM的项目构建工具,它支持maven、Ivy仓库等。 Gradle 7.0之前版本存在安全漏洞,该漏洞允许多个用户在其中创建和删除文件的打开权限来创建系统临时目录。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
gradle gradle < 7.0 -

二、漏洞 CVE-2021-29428 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2021-29428 的情报信息

请登录查看更多情报信息。

CVE-2021-29428 补丁与修复 (1)

CVE-2021-29428 厂商安全公告 (1)

CVE-2021-29428 其他参考 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-29428

暂无评论


发表评论