
CVE catalog
CVE-2021-29428
gradle affected and fixed versions
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.
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.54% · 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-29428] |
| Debiantrixie | gradle | 4.4.1-22 | Affected | [CVE-2021-29428] |
| Debiansid | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29428] |
| Debiansid | gradle | 4.8-1 | Affected | [CVE-2021-29428] |
| Suselinux enterprise server for sap applications 15 sp3 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise server for sap applications 15 sp2 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise server 15 sp3-ltss | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise server 15 sp2-ltss | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise real time 15 sp3 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise module for development tools 15 sp4 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise high performance computing 15 sp3-ltss | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise high performance computing 15 sp3-espos | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
Showing 12 observations. All 21 observations, including unknown and conflicting reports, are available below.
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-29428] |
| Debianbookworm | gradle | 4.4.1-18 | Affected | [CVE-2021-29428] |
| Debianforky | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29428] |
| Debianforky | gradle | 4.7-1 | Affected | [CVE-2021-29428] |
| Debiansid | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29428] |
| Debiansid | gradle | 4.8-1 | Affected | [CVE-2021-29428] |
| Debiantrixie | gradle | Not reported | AffectedDistribution reports no fix | [CVE-2021-29428] |
| Debiantrixie | gradle | 4.4.1-22 | Affected | [CVE-2021-29428] |
| Opensuseleap 15.4 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suseenterprise storage 7 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suseenterprise storage 7.1 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise high performance computing 15 sp2-ltss | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise high performance computing 15 sp3-espos | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise high performance computing 15 sp3-ltss | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise module for development tools 15 sp4 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise real time 15 sp3 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise server 15 sp2-ltss | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise server 15 sp3-ltss | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise server for sap applications 15 sp2 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
| Suselinux enterprise server for sap applications 15 sp3 | gradle | 4.4.1-150200.3.7.1 | UnknownSource applicability is not established | [SUSE-SU-2023:1867-1] |
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-29428",
"fixed_version": "7.0",
"provider_source": "nvd",
"provider_record_id": "NVD-CVE-2021-29428",
"provider_updated_at": "2026-10-08T22:17:08.813"
},
{
"name": "quarkus",
"ranges": [
{
"fixed": "",
"introduced": "",
"last_affected": "2.2.3",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-29428",
"fixed_version": "",
"provider_source": "nvd",
"provider_record_id": "NVD-CVE-2021-29428",
"provider_updated_at": "2026-10-08T22:17:08.813"
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise module for development tools 15 sp4",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise high performance computing 15 sp2-ltss",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise high performance computing 15 sp3-espos",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise high performance computing 15 sp3-ltss",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise real time 15 sp3",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise server 15 sp2-ltss",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise server 15 sp3-ltss",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise server for sap applications 15 sp2",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "linux enterprise server for sap applications 15 sp3",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "enterprise storage 7",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "enterprise storage 7.1",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
},
{
"name": "gradle",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.1-150200.3.7.1"
}
]
}
],
"release": "leap 15.4",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/SUSE-SU-2023:1867-1",
"fixed_version": "4.4.1-150200.3.7.1",
"provider_source": "pypi",
"provider_record_id": "SUSE-SU-2023:1867-1",
"provider_updated_at": "2026-02-04T03:21:48.065548Z",
"applicability_unknown": true
}
]
}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-2023_1867-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-29428]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-29428]
- [https://osv.dev/vulnerability/SUSE-SU-2023:1867-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-29428]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-29428.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]