Live threats

All CVEs / Gradle

CVE-2022-25364Gradle Enterprise

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
Mar 17, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-276
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

In Gradle Enterprise before 2021.4.2, the default built-in build cache configuration allowed anonymous write access. If this was not manually changed, a malicious actor with network access to the build cache could potentially populate it with manipulated entries that execute malicious code as part of a build. As of 2021.4.2, the built-in build cache is inaccessible-by-default, requiring explicit configuration of its access-control settings before it can be used. (Remote build cache nodes are unaffected as they are inaccessible-by-default.)

Original NVD text.

What to do

  1. Apply the vendor's security update for Enterprise.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gradleenterprise< 2021.4.2

Official sources

References

Links published by the sources. Open them with care.