CVE-2021-41619: Code Injection

Published Oct 27, 2021
·
Updated

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 Software

1 affected component
Gradle Enterprise>=2020.4<2021.1.2

Event History

Oct 27, 2021
CVE Published
via MITRE·01:24 PM
Data Sourced
via MITRE·01:24 PM
Description
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this issue in Gradle Enterprise?

The vulnerability ID is CVE-2021-41619.

2

What is the severity of CVE-2021-41619?

The severity of CVE-2021-41619 is critical with a CVSS score of 7.2.

3

How can remote code execution be achieved through this vulnerability?

Remote code execution can be achieved through the ability to specify arbitrary Java Virtual Machine startup options in the installation configuration user interface.

4

What versions of Gradle Enterprise are affected by this vulnerability?

Gradle Enterprise versions between 2020.4 and 2021.1.2 are affected by this vulnerability.

5

Is there a fix available for CVE-2021-41619?

Yes, a fix is available in Gradle Enterprise version 2021.1.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203