CVE-2021-41619Gradle Enterprise
High 7.2
Follow: this CVE · Gradle · Gradle Enterprise We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- Yes
- Published
- Oct 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Enterprise.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gradle | enterprise | ≥ 2020.4 < 2021.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- security.gradle.com Vendor Advisory
- security.gradle.com Vendor Advisory