CVE-2021-41619
HIGH
Published Oct 27, 20214y ago · Modified Jun 17, 20262w ago
7.2 CVSS 3.1
Published Oct 27, 2021 4y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required High
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-94 Improper Control of Generation of Code (Code Injection) Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| gradle | enterprise | * | ≥2020.4 – <2021.1.2 |
References 2
- security.gradle.com https://security.gradle.com
- security.gradle.com https://security.gradle.com/advisory/2021-08
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.