CVE-2021-41589

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.
References
Link Resource
https://security.gradle.com Vendor Advisory
https://security.gradle.com/advisory/2021-06 Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gradle:build_cache_node:*:*:*:*:*:*:*:*
cpe:2.3:a:gradle:enterprise:*:*:*:*:*:*:*:*

History

03 Nov 2021, 16:38

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CPE cpe:2.3:a:gradle:enterprise:*:*:*:*:*:*:*:*
cpe:2.3:a:gradle:build_cache_node:*:*:*:*:*:*:*:*
References (MISC) https://security.gradle.com - (MISC) https://security.gradle.com - Vendor Advisory
References (MISC) https://security.gradle.com/advisory/2021-06 - (MISC) https://security.gradle.com/advisory/2021-06 - Vendor Advisory
CWE CWE-732

27 Oct 2021, 14:18

Type Values Removed Values Added
New CVE

Information

Published : 2021-10-27 14:15

Updated : 2023-12-10 14:09


NVD link : CVE-2021-41589

Mitre link : CVE-2021-41589

CVE.ORG link : CVE-2021-41589


JSON object : View

Products Affected

gradle

  • build_cache_node
  • enterprise
CWE
CWE-732

Incorrect Permission Assignment for Critical Resource