CVEvulnerability

CVE-2021-41619

7.2 HIGH Published 2021-10-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-10-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
9.0 HIGH — AV:N/AC:L/Au:S/C:C/I:C/A:C
Weaknesses
CWE-94

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.

Affected configurations

• gradle enterprise (>= 2020.4 < 2021.1.2)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References