Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-41589

9.8 · CRITICAL
Published Oct 27, 2021 gradle CWE-732 EPSS 2.38% (83th pctl)

Overview

CVE-2021-41589 is a critical-severity vulnerability affecting gradle build_cache_node. It was published on October 27, 2021 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories and patches from gradle. Update build_cache_node to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gradle build_cache_node >= 0, < 10.0 Affected
gradle enterprise >= 0, < 2021.3 Affected

Frequently Asked Questions

What is CVE-2021-41589?

CVE-2021-41589 is a critical-severity vulnerability affecting gradle build_cache_node. It was published on October 27, 2021 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2021-41589?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-41589?

Check the references section for vendor advisories and patches from gradle. Update build_cache_node to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-41589?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-41589 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.