CVE-2021-41589
Last modified
CVE-2021-41589 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gradle | Build Cache Node | < 10.0 |
| Gradle | Enterprise | < 2021.3 |
References
- https://security.gradle.comVendor Advisory
- https://security.gradle.com/advisory/2021-06Vendor Advisory
- https://security.gradle.comVendor Advisory
- https://security.gradle.com/advisory/2021-06Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41589?
How severe is CVE-2021-41589?
How do I fix CVE-2021-41589?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41583vpn-user-portal (aka eduVPN or Let's Connect!) before 2.3.14…6.5
- CVE-2021-41584Gradle Enterprise before 2021.1.3 can allow unauthorized vie…7.5
- CVE-2021-41585Improper Input Validation vulnerability in accepting socket …7.5
- CVE-2021-41586In Gradle Enterprise before 2021.1.3, an attacker with the a…7.5
- CVE-2021-41587In Gradle Enterprise before 2021.1.3, an attacker with the a…7.5
- CVE-2021-41588In Gradle Enterprise before 2021.1.3, a crafted request can …8.1
- CVE-2021-4159A vulnerability was found in the Linux kernel's EBPF verifie…4.4
- CVE-2021-41590In Gradle Enterprise through 2021.3, probing of the server-s…5.3
- CVE-2021-41591ACINQ Eclair before 0.6.3 allows loss of funds because of du…9.4
- CVE-2021-41592Blockstream c-lightning through 0.10.1 allows loss of funds …9.4
- CVE-2021-41593Lightning Labs lnd before 0.13.3-beta allows loss of funds b…8.6
- CVE-2021-41594In RSA Archer 6.9.SP1 P3, if some application functions are …6.5
Are you affected by CVE-2021-41589?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
