First published: Wed Oct 27 2021(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Gradle Enterprise | >=2020.4<2021.1.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2021-41619.
The severity of CVE-2021-41619 is critical with a CVSS score of 7.2.
Remote code execution can be achieved through the ability to specify arbitrary Java Virtual Machine startup options in the installation configuration user interface.
Gradle Enterprise versions between 2020.4 and 2021.1.2 are affected by this vulnerability.
Yes, a fix is available in Gradle Enterprise version 2021.1.2.