CVE-2021-41619: Gradle Enterprise
High severity, CVSS 7.2. EPSS: 2.7% chance of exploitation in the next 30 days.
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.
Affected products
- Gradle Enterprise: from 2020.4, before 2021.1.2 (fixed in 2021.1.2)
Published 2021-10-27. Last modified 2026-06-17.