RCE in Gradle Enterprise

CVE-2021-41619

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.026 (84.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-41619?
CVE-2021-41619 is a high-severity vulnerability in Gradle Enterprise, classified under Code Injection. CVSS score: 7.2/10. Published 2021-10-27.
How severe is CVE-2021-41619?
High severity. CVSS v3 base score is 7.2 out of 10.