What’s Vulnerable › Vulnerabilities

CVE-2021-41619

Description

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

How to fix

Upgrade to a fixed version: Gradle Enterprise 2021.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-41619 or the next vulnerability affects your stack