CVE-2021-29429: In Gradle before version 7.0, files created with open permissions in the system temporary directory can allow
CVE-2021-29429 is a medium-severity flaw (CVSS 4.0) 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, files created with open permissions in the system temporary directory can allow an attacker to access information downloaded by Gradle. Some builds could be vulnerable to a local information disclosure. Remote files accessed through TextResourceFactory are downloaded into the system temporary directory first. Sensitive information contained in these files can be exposed to other local users on the same system. If you
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.0 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 58%) |
| CISA exploited list | No |
| Weakness | CWE-377 |
| Published | 2021-04-12 |
| Last modified | 2026-10-08 |
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-29429?
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-29429 being exploited?
CVE-2021-29429 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-29429 affect?
CVE-2021-29429 affects gradle, quarkus. Severity is medium (CVSS 4.0). In Gradle before version 7.0, files created with open permissions in the system temporary directory can allow an attacker to access information downloaded by Gradle. Some builds could be vulnerable to a local information disclosure. Remote
How urgent is CVE-2021-29429?
Priority 29/100. Public exploit reference
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-29428 HIGH 8.8 UPGRADE UPGRADE In Gradle before version 7.0, on Unix-like systems, the system temporary directory can be created with open pe
- 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