
CVE catalog
CVE-2021-29429
gradle affected and fixed versions
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 do not use the `TextResourceFactory` API, you are not vulnerable. As of Gradle 7.0, uses of the system temporary directory have been moved to the Gradle User Home directory. By default, this directory is restricted to the user running the build. As a workaround, set a more restrictive umask that removes read access to other users. When files are created in the system temporary directory, they will not be accessible to other users. If you are unable to change your system's umask, 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.
- Severity
- Medium · CVSS 4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.48% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29429] |
| Debiantrixie | gradle | 4.4.1-22 | Affected | [CVE-2021-29429] |
| Debiansid | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29429] |
| Debiansid | gradle | 4.8-1 | Affected | [CVE-2021-29429] |
| Debianforky | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29429] |
| Debianforky | gradle | 4.7-1 | Affected | [CVE-2021-29429] |
| Debianbookworm | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29429] |
| Debianbookworm | gradle | 4.4.1-18 | Affected | [CVE-2021-29429] |
| UnknownRelease not reported | gradle | Not reported | UnknownSource applicability is not established | Provider not reported |
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | gradle | Not reported | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29429] |
| Debianbookworm | gradle | 4.4.1-18 | Affected | [CVE-2021-29429] |
| Debianforky | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29429] |
| Debianforky | gradle | 4.7-1 | Affected | [CVE-2021-29429] |
| Debiansid | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29429] |
| Debiansid | gradle | 4.8-1 | Affected | [CVE-2021-29429] |
| Debiantrixie | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29429] |
| Debiantrixie | gradle | 4.4.1-22 | Affected | [CVE-2021-29429] |
Original provider fields
{
"package_releases": [
{
"name": "gradle",
"status": "vulnerable",
"release": "sid",
"version": "4.8-1"
},
{
"name": "gradle",
"status": "vulnerable",
"release": "forky",
"version": "4.7-1"
},
{
"name": "gradle",
"status": "vulnerable",
"release": "trixie",
"version": "4.4.1-22"
},
{
"name": "gradle",
"status": "vulnerable",
"release": "bookworm",
"version": "4.4.1-18"
}
],
"fixed_versions": [
{
"bug": 987284,
"name": "gradle",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 987284,
"name": "gradle",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 987284,
"name": "gradle",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 987284,
"name": "gradle",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "gradle",
"fixed_version": "not yet fixed",
"applicability_unknown": true
},
{
"name": "gradle",
"ranges": [
{
"fixed": "7.0",
"introduced": "",
"last_affected": "",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-29429",
"fixed_version": "7.0",
"provider_source": "nvd",
"provider_record_id": "NVD-CVE-2021-29429",
"provider_updated_at": "2026-10-08T22:17:09.030"
},
{
"name": "quarkus",
"ranges": [
{
"fixed": "",
"introduced": "",
"last_affected": "2.2.3",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-29429",
"fixed_version": "",
"provider_source": "nvd",
"provider_record_id": "NVD-CVE-2021-29429",
"provider_updated_at": "2026-10-08T22:17:09.030"
}
]
}Publisher notes
[trixie] gradle: Minor issue [bookworm] gradle: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [gradle]Unknown
Details (2)
4.4.1-18· all · bookwormAffected
dsa · gradle · debian · bookworm; dsa · gradle · debian · 12
4.4.1-18· all · bookwormAffected
dsa · gradle · debian · bookworm; dsa · gradle · debian · 12
- [gradle-doc]Unknown
Source package: [gradle]
Details (2)
4.4.1-18· all · bookwormAffected
dsa · gradle · debian · bookworm; dsa · gradle · debian · 12
4.4.1-18· all · bookwormAffected
dsa · gradle · debian · bookworm; dsa · gradle · debian · 12
- [libgradle-core-java]Unknown
Source package: [gradle]
Details (2)
4.4.1-18· all · bookwormAffected
dsa · gradle · debian · bookworm; dsa · gradle · debian · 12
4.4.1-18· all · bookwormAffected
dsa · gradle · debian · bookworm; dsa · gradle · debian · 12
- [libgradle-plugins-java]Unknown
Source package: [gradle]
Details (2)
4.4.1-18· all · bookwormAffected
dsa · gradle · debian · bookworm; dsa · gradle · debian · 12
4.4.1-18· all · bookwormAffected
dsa · gradle · debian · bookworm; dsa · gradle · debian · 12
[Debian 13 (Trixie)]
- [gradle]Unknown
Details (2)
4.4.1-22· all · trixieAffected
dsa · gradle · debian · 13
4.4.1-22· all · trixieAffected
dsa · gradle · debian · 13
- [gradle-doc]Unknown
Source package: [gradle]
Details (2)
4.4.1-22· all · trixieAffected
dsa · gradle · debian · 13
4.4.1-22· all · trixieAffected
dsa · gradle · debian · 13
- [libgradle-core-java]Unknown
Source package: [gradle]
Details (2)
4.4.1-22· all · trixieAffected
dsa · gradle · debian · 13
4.4.1-22· all · trixieAffected
dsa · gradle · debian · 13
- [libgradle-plugins-java]Unknown
Source package: [gradle]
Details (2)
4.4.1-22· all · trixieAffected
dsa · gradle · debian · 13
4.4.1-22· all · trixieAffected
dsa · gradle · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_1119-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-29429]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-29429]
- [https://security-tracker.debian.org/tracker/CVE-2021-29429]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-29429.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]