CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Gradle

CVE-2021-41619
Gradle Enterprise vulnerability

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

Enterprise. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gradle Enterprise runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Gradle products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.