CVE-2021-29428: In Gradle before version 7.0, on Unix-like systems, the system temporary directory can be created with open pe
CVE-2021-29428 is a high-severity flaw (CVSS 8.8) affecting gradle, quarkus. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-29428?
gradle: upgrade to 7.0; quarkus: upgrade to newer than 2.2.3. Exact commands for each OS are on this page.
Is CVE-2021-29428 being exploited?
CVE-2021-29428 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-29428 affect?
CVE-2021-29428 affects gradle, quarkus. Severity is high (CVSS 8.8). 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 e
How urgent is CVE-2021-29428?
Priority 47/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2023-44387 LOW 3.2 UPGRADE Gradle is a build tool with a focus on build automation and support for multi-language development
- CVE-2021-32751 HIGH 7.5 UPGRADE Gradle is a build tool with a focus on build automation
- CVE-2021-29429 MEDIUM 4.0 UPGRADE UPGRADE In Gradle before version 7.0, files created with open permissions in the system temporary directory can allow
- CVE-2020-11979 HIGH 7.5 DOWNGRADE UPGRADE As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so tha
- CVE-2026-22865 HIGH 7.4 UPGRADE Gradle is a build automation tool, and its native-platform tool provides Java bindings for native APIs