An issue was discovered in Gradle Enterprise before 2021.1.2. There is potential remote code execution via the application startup configuration. The installation configuration user interface (available to administrators) allows specifying arbitrary Java Virtual Machine startup options. Some of these options, such as -XX:OnOutOfMemoryError, allow specifying a command to be run on the host. This can be abused to run arbitrary commands on the host, should an attacker gain administrative access to the application.
References
Link | Resource |
---|---|
https://security.gradle.com | Vendor Advisory |
https://security.gradle.com/advisory/2021-08 | Vendor Advisory |
https://security.gradle.com | Vendor Advisory |
https://security.gradle.com/advisory/2021-08 | Vendor Advisory |
Configurations
History
21 Nov 2024, 06:26
Type | Values Removed | Values Added |
---|---|---|
References | () https://security.gradle.com - Vendor Advisory | |
References | () https://security.gradle.com/advisory/2021-08 - Vendor Advisory |
Information
Published : 2021-10-27 14:15
Updated : 2024-11-21 06:26
NVD link : CVE-2021-41619
Mitre link : CVE-2021-41619
CVE.ORG link : CVE-2021-41619
JSON object : View
Products Affected
gradle
- enterprise
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')