Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-29428

published high CVSS 3.1 · 8.8

Local privilege escalation through system temporary directory

Published
13 Apr 2021, 17:55:18 UTC
Updated
08 Oct 2026, 21:24:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
gradle — gradle< 7.0 Affected Not stated GitHub_M
SUSE / openSUSE SLE-15-SP2 gradleaarch64 Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP2 gradleppc64le Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP2 gradles390x Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP2 gradlex86_64 Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP3 gradleaarch64 Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP3 gradleppc64le Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP3 gradles390x Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
Show 9 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP3 gradlex86_64 Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP4 gradleaarch64 Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP4 gradleppc64le Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP4 gradles390x Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE SLE-15-SP4 gradlex86_64 Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE openSUSE-Leap-15.4 gradleaarch64 Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE openSUSE-Leap-15.4 gradleppc64le Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE openSUSE-Leap-15.4 gradles390x Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1
SUSE / openSUSE openSUSE-Leap-15.4 gradlex86_64 Advisory build 4.4.1-150200.3.7.1 SUSE-SU-2023:1867-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
gradle gradle < 7.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-379 CWE-379 Creation of Temporary File in Directory with Incorrect Permissions (GitHub_M · cna)
  • CWE-378 CWE-378: Creation of Temporary File With Insecure Permissions (GitHub_M · cna)

References

4

Provider assertions

3

GitHub_M · cna

Local privilege escalation through system temporary directory

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
7bf0ee2dc30d5efcbc59e4e330b3dd8a558bc4ab252b46280d8e9d668edacc1b
Ingested
09 Oct 2026, 16:22:05 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected