CVE-2022-25364: In Gradle Enterprise before 2021.4.2, the default built-in build cache configuration allowed anonymous write a
CVE-2022-25364 is a high-severity flaw (CVSS 8.1) affecting enterprise. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.0% (top 37%) |
| CISA exploited list | No |
| Weakness | CWE-276 |
| Published | 2022-03-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-25364?
enterprise: upgrade to 2021.4.2. Exact commands for each OS are on this page.
Is CVE-2022-25364 being exploited?
CVE-2022-25364 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-25364 affect?
CVE-2022-25364 affects enterprise. Severity is high (CVSS 8.1). 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 wi
How urgent is CVE-2022-25364?
Priority 49/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2023-49238 CRITICAL 9.8 UPGRADE In Gradle Enterprise before 2023.1, a remote attacker may be able to gain access to a new installation (in cer
- CVE-2022-41575 HIGH 7.5 UPGRADE A credential-exposure vulnerability in the support-bundle mechanism in Gradle Enterprise 2022.3 through 2022.3
- CVE-2022-41574 HIGH 7.5 UPGRADE An access-control vulnerability in Gradle Enterprise 2022.4 through 2022.3.1 allows remote attackers to preven
- CVE-2022-27919 CRITICAL 9.8 UPGRADE Gradle Enterprise before 2022.1 allows remote code execution if the installation process did not specify an in
- CVE-2022-27225 MEDIUM 6.5 UPGRADE Gradle Enterprise before 2021.4.3 relies on cleartext data transmission in some situations