CVE-2021-41589 Missing authorization in n/a
Attackers can poison the build cache and execute malicious code due to default anonymous write access in Gradle Enterprise Build Cache Node.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-41589?
CVE-2021-41589 is a critical missing authorization vulnerability in n/a, published on 27 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Gradle Enterprise before 2021.3 (and Enterprise Build Cache Node before 10.0), there is potential cache poisoning and remote code execution when running the build cache node with its default configuration. This configuration allows anonymous access to the configuration user interface and anonymous write access to the build cache. If access control to the build cache is not changed from the default open configuration, a malicious actor with network access can populate the cache with manipulated entries that may execute malicious code as part of a build process. This applies to the build cache provided with Gradle Enterprise and the separate build cache node service if used. If access control to the user interface is not changed from the default open configuration, a malicious actor can undo build cache access control in order to populate the cache with manipulated entries that may execute malicious code as part of a build process. This does not apply to the build cache provided with Gradle Enterprise, but does apply to the separate build cache node service if used.
Weakness: CWE-732
Which versions are affected by CVE-2021-41589?
It affects 2 products.
Products include Gradle Build Cache Node, Gradle Enterprise.
How do I fix CVE-2021-41589?
No fix has been published for CVE-2021-41589 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-41589 being exploited?
There is no known exploitation of CVE-2021-41589 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-65w8-859v-42ph.