CVE-2021-41619

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductGradle Enterprise
PublishedOct 27, 2021
First seenOct 27, 2021

How to fix

Update
  • gradle enterprise2021.1.2 or later

Affected products

ProductAffected versionsFixed in
gradle enterprise2020.4 ≤ v < 2021.1.22021.1.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.