CVE catalog

CVE-2021-29429

gradle affected and fixed versions

[CVE catalog]

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 4CVSS: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 / releasePackageVersionStatusSource
DebiantrixiegradleNot reportedAffectedDistribution reports no fix[CVE-2021-29429]
Debiantrixiegradle4.4.1-22Affected[CVE-2021-29429]
DebiansidgradleNot reportedAffectedDistribution reports no fix[CVE-2021-29429]
Debiansidgradle4.8-1Affected[CVE-2021-29429]
DebianforkygradleNot reportedAffectedDistribution reports no fix[CVE-2021-29429]
Debianforkygradle4.7-1Affected[CVE-2021-29429]
DebianbookwormgradleNot reportedAffectedDistribution reports no fix[CVE-2021-29429]
Debianbookwormgradle4.4.1-18Affected[CVE-2021-29429]
UnknownRelease not reportedgradleNot reportedUnknownSource applicability is not establishedProvider not reported
Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedgradleNot reportedUnknownSource applicability is not establishedProvider not reported
DebianbookwormgradleNot reportedAffectedDistribution reports no fix[CVE-2021-29429]
Debianbookwormgradle4.4.1-18Affected[CVE-2021-29429]
DebianforkygradleNot reportedAffectedDistribution reports no fix[CVE-2021-29429]
Debianforkygradle4.7-1Affected[CVE-2021-29429]
DebiansidgradleNot reportedAffectedDistribution reports no fix[CVE-2021-29429]
Debiansidgradle4.8-1Affected[CVE-2021-29429]
DebiantrixiegradleNot reportedAffectedDistribution reports no fix[CVE-2021-29429]
Debiantrixiegradle4.4.1-22Affected[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"
    }
  ]
}

[Debian bug #987284]

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 · bookworm

      Affected

      dsa · gradle · debian · bookworm; dsa · gradle · debian · 12

    • 4.4.1-18 · all · bookworm

      Affected

      dsa · gradle · debian · bookworm; dsa · gradle · debian · 12

  • [gradle-doc]Unknown

    Source package: [gradle]

    Details (2)
    • 4.4.1-18 · all · bookworm

      Affected

      dsa · gradle · debian · bookworm; dsa · gradle · debian · 12

    • 4.4.1-18 · all · bookworm

      Affected

      dsa · gradle · debian · bookworm; dsa · gradle · debian · 12

  • Source package: [gradle]

    Details (2)
    • 4.4.1-18 · all · bookworm

      Affected

      dsa · gradle · debian · bookworm; dsa · gradle · debian · 12

    • 4.4.1-18 · all · bookworm

      Affected

      dsa · gradle · debian · bookworm; dsa · gradle · debian · 12

  • Source package: [gradle]

    Details (2)
    • 4.4.1-18 · all · bookworm

      Affected

      dsa · gradle · debian · bookworm; dsa · gradle · debian · 12

    • 4.4.1-18 · all · bookworm

      Affected

      dsa · gradle · debian · bookworm; dsa · gradle · debian · 12

[Debian 13 (Trixie)]

  • [gradle]Unknown
    Details (2)
    • 4.4.1-22 · all · trixie

      Affected

      dsa · gradle · debian · 13

    • 4.4.1-22 · all · trixie

      Affected

      dsa · gradle · debian · 13

  • [gradle-doc]Unknown

    Source package: [gradle]

    Details (2)
    • 4.4.1-22 · all · trixie

      Affected

      dsa · gradle · debian · 13

    • 4.4.1-22 · all · trixie

      Affected

      dsa · gradle · debian · 13

  • Source package: [gradle]

    Details (2)
    • 4.4.1-22 · all · trixie

      Affected

      dsa · gradle · debian · 13

    • 4.4.1-22 · all · trixie

      Affected

      dsa · gradle · debian · 13

  • Source package: [gradle]

    Details (2)
    • 4.4.1-22 · all · trixie

      Affected

      dsa · gradle · debian · 13

    • 4.4.1-22 · all · trixie

      Affected

      dsa · gradle · debian · 13

Observed:

References