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.
Use CWE-94, Gradle vendor hub and Enterprise product page to widen CVE-2021-41619 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2023-49238, CVE-2022-27919 and CVE-2021-41589 for nearby disclosures in the same product family.