CVE-2022-25364
JSON

8.1high

In Gradle Enterprise before 2021.4.2, the default built-in build cache configuration allowed anonymous write access.

Severity
8.1high CVSS:3.1 by NVD
Exploit likelihood
1.02% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.)

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
gradle enterprisebefore 2021.4.2NVD

All scores

NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.3high CVSS:2.0AV:N/AC:M/Au:N/C:C/I:C/A:C

Classification

What each source says

CVE List

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.)

NVD (es)

En Gradle Enterprise versiones anteriores a 2021.4.2, la configuración por defecto de la caché de construcción incorporada permitía el acceso anónimo de escritura. Si esto no es cambiado manualmente, un actor malicioso con acceso a la red a la caché de compilación podría rellenarla con entradas manipuladas que ejecutaran código malicioso como parte de una compilación. A partir de la versión 2021.4.2, la caché de compilación incorporada es inaccesible por defecto, por lo que es necesario configurar explícitamente sus parámetros de control de acceso antes de poder usarla. (Los nodos remotos de la caché de compilación no están afectados, ya que son inaccesibles por defecto)

References

Sources

SourceRecordLicence
CVE ListCVE-2022-25364 changed 2024-08-03CVE Terms of Use
NVDCVE-2022-25364 changed 2026-06-17Public domain