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/advisory/2021-08 | Vendor Advisory |
https://security.gradle.com | Vendor Advisory |
Configurations
Information
Published : 2021-10-27 07:15
Updated : 2021-11-03 05:56
NVD link : CVE-2021-41619
Mitre link : CVE-2021-41619
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
gradle
- enterprise