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
- security.gradle.com · Vendor Advisory
- security.gradle.com/advisory/2021-08 · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-41619
- cve.org/CVERecord?id=CVE-2021-41619
More vulnerabilities in Gradle products
CVE-2023-49238CVE-2023-44387CVE-2023-42445CVE-2023-35947CVE-2023-35946CVE-2023-30853CVE-2023-26053CVE-2022-41575All 47
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.