---
title: "CVE-2021-29428"
canonical_url: "https://pkgseek.com/security/CVE-2021-29428"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2021-29428

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…

CVE-2021-29428 严重级别为 HIGH (7.8)，共索引 4 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: HIGH (7.8)
- **受影响构建数**: 4
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | gradle | 4.4.1-22 | — |
| Debian | trixie | gradle-doc | 4.4.1-22 | — |
| Debian | trixie | libgradle-core-java | 4.4.1-22 | — |
| Debian | trixie | libgradle-plugins-java | 4.4.1-22 | — |
