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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| gradle enterprise | before 2021.4.2 | NVD |
All scores
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.3high CVSS:2.0 | AV: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
| https://security.gradle.com | vendor-advisory | |
| https://security.gradle.com/advisory/2022-02 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25364 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-25364 changed 2026-06-17 | Public domain |