Enterprise Gradle Enterprise

Do you want an email whenever new security vulnerabilities are reported in Gradle Enterprise?

By the Year

In 2024 there have been 1 vulnerability in Gradle Enterprise with an average score of 9.8 out of ten. Enterprise did not have any published security vulnerabilities last year. That is, 1 more vulnerability have already been reported in 2024 as compared to last year.

Year Vulnerabilities Average Score
2024 1 9.80
2023 0 0.00
2022 5 7.88
2021 3 7.43
2020 10 6.64
2019 2 9.80
2018 0 0.00

It may take a day or so for new Enterprise vulnerabilities to show up in the stats or in the list of recent security vulnerabilties. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Gradle Enterprise Security Vulnerabilities

In Gradle Enterprise before 2023.1, a remote attacker may be able to gain access to a new installation (in certain installation scenarios)

CVE-2023-49238 9.8 - Critical - January 09, 2024

In Gradle Enterprise before 2023.1, a remote attacker may be able to gain access to a new installation (in certain installation scenarios) because of a non-unique initial system user password. Although this password must be changed upon the first login, it is possible that an attacker logs in before the legitimate administrator logs in.

Weak Password Requirements

A credential-exposure vulnerability in the support-bundle mechanism in Gradle Enterprise 2022.3 through 2022.3.3

CVE-2022-41575 7.5 - High - October 21, 2022

A credential-exposure vulnerability in the support-bundle mechanism in Gradle Enterprise 2022.3 through 2022.3.3 allows remote attackers to access a subset of application data (e.g., cleartext credentials). This is fixed in 2022.3.3.

Insufficiently Protected Credentials

An access-control vulnerability in Gradle Enterprise 2022.4 through 2022.3.1

CVE-2022-41574 7.5 - High - October 07, 2022

An access-control vulnerability in Gradle Enterprise 2022.4 through 2022.3.1 allows remote attackers to prevent backups from occurring, and send emails with arbitrary text content to the configured installation-administrator contact address, via HTTP access to an accidentally exposed internal endpoint. This is fixed in 2022.3.2.

AuthZ

Gradle Enterprise before 2022.1 allows remote code execution if the installation process did not specify an initial configuration file

CVE-2022-27919 9.8 - Critical - March 25, 2022

Gradle Enterprise before 2022.1 allows remote code execution if the installation process did not specify an initial configuration file. The configuration allows certain anonymous access to administration and an API.

Incorrect Default Permissions

In Gradle Enterprise before 2021.4.2, the default built-in build cache configuration allowed anonymous write access

CVE-2022-25364 8.1 - High - March 17, 2022

In Gradle Enterprise before 2021.4.2, the default built-in build cache configuration allowed anonymous write access. If this was not manually changed, a malicious actor with network access to the build cache could potentially populate it with manipulated entries that execute malicious code as part of a build. As of 2021.4.2, the built-in build cache is inaccessible-by-default, requiring explicit configuration of its access-control settings before it can be used. (Remote build cache nodes are unaffected as they are inaccessible-by-default.)

Incorrect Default Permissions

Gradle Enterprise before 2021.4.3 relies on cleartext data transmission in some situations

CVE-2022-27225 6.5 - Medium - March 16, 2022

Gradle Enterprise before 2021.4.3 relies on cleartext data transmission in some situations. It uses Keycloak for identity management services. During the sign-in process, Keycloak sets browser cookies that effectively provide remember-me functionality. For backwards compatibility with older Safari versions, Keycloak sets a duplicate of the cookie without the Secure attribute, which allows the cookie to be sent when accessing the location that cookie is set for via HTTP. This creates the potential for an attacker (with the ability to impersonate the Gradle Enterprise host) to capture the login session of a user by having them click an http:// link to the server, despite the real server requiring HTTPS.

Missing Encryption of Sensitive Data

An issue was discovered in Gradle Enterprise before 2021.1.2

CVE-2021-41619 7.2 - High - October 27, 2021

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.

Code Injection

In Gradle Enterprise before 2021.3 (and Enterprise Build Cache Node before 10.0)

CVE-2021-41589 9.8 - Critical - October 27, 2021

In Gradle Enterprise before 2021.3 (and Enterprise Build Cache Node before 10.0), there is potential cache poisoning and remote code execution when running the build cache node with its default configuration. This configuration allows anonymous access to the configuration user interface and anonymous write access to the build cache. If access control to the build cache is not changed from the default open configuration, a malicious actor with network access can populate the cache with manipulated entries that may execute malicious code as part of a build process. This applies to the build cache provided with Gradle Enterprise and the separate build cache node service if used. If access control to the user interface is not changed from the default open configuration, a malicious actor can undo build cache access control in order to populate the cache with manipulated entries that may execute malicious code as part of a build process. This does not apply to the build cache provided with Gradle Enterprise, but does apply to the separate build cache node service if used.

Incorrect Permission Assignment for Critical Resource

In Gradle Enterprise through 2021.3, probing of the server-side network environment can occur via an SMTP configuration test

CVE-2021-41590 5.3 - Medium - October 27, 2021

In Gradle Enterprise through 2021.3, probing of the server-side network environment can occur via an SMTP configuration test. The installation configuration user interface available to administrators allows testing the configured SMTP server settings. This test function can be used to identify the listening TCP ports available to the server, revealing information about the internal network environment.

An issue was discovered in Gradle Enterprise before 2020.2.4

CVE-2020-15773 6.5 - Medium - September 18, 2020

An issue was discovered in Gradle Enterprise before 2020.2.4. Because of unrestricted cross-origin requests to read-only data in the Export API, an attacker can access data as a user (for the duration of the browser session) after previously explicitly authenticating with the API.

Origin Validation Error

An issue was discovered in Gradle Enterprise 2018.2 - 2020.2.4

CVE-2020-15776 8.8 - High - September 18, 2020

An issue was discovered in Gradle Enterprise 2018.2 - 2020.2.4. The CSRF prevention token is stored in a request cookie that is not annotated as HttpOnly. An attacker with the ability to execute arbitrary code in a user's browser could impose an arbitrary value for this token, allowing them to perform cross-site request forgery.

An issue was discovered in Gradle Enterprise 2017.1 - 2020.2.4

CVE-2020-15775 7.5 - High - September 18, 2020

An issue was discovered in Gradle Enterprise 2017.1 - 2020.2.4. The /usage page of Gradle Enterprise conveys high level build information such as project names and build counts over time. This page is incorrectly viewable anonymously.

Insecure Storage of Sensitive Information

An issue was discovered in Gradle Enterprise 2018.5 - 2020.2.4

CVE-2020-15774 6.8 - Medium - September 18, 2020

An issue was discovered in Gradle Enterprise 2018.5 - 2020.2.4. An attacker with physical access to the browser of a user who has recently logged in to Gradle Enterprise and since closed their browser could reopen their browser to access Gradle Enterprise as that user.

Insufficient Session Expiration

An issue was discovered in Gradle Enterprise 2018.2 and Gradle Enterprise Build Cache Node 4.1

CVE-2020-15771 7.5 - High - September 18, 2020

An issue was discovered in Gradle Enterprise 2018.2 and Gradle Enterprise Build Cache Node 4.1. Cross-site transmission of cookie containing CSRF token allows remote attacker to bypass CSRF mitigation.

Missing Encryption of Sensitive Data

An issue was discovered in Gradle Enterprise 2018.5 - 2020.2.4

CVE-2020-15772 4.9 - Medium - September 18, 2020

An issue was discovered in Gradle Enterprise 2018.5 - 2020.2.4. When configuring Gradle Enterprise to integrate with a SAML identity provider, an XML metadata file can be uploaded by an administrator. The server side processing of this file dereferences XML External Entities (XXE), allowing a remote attacker with administrative access to perform server side request forgery.

XXE

An issue was discovered in Gradle Enterprise 2020.2 - 2020.2.4

CVE-2020-15769 6.1 - Medium - September 18, 2020

An issue was discovered in Gradle Enterprise 2020.2 - 2020.2.4. An XSS issue exists via the request URL.

XSS

An issue was discovered in Gradle Enterprise 2018.5

CVE-2020-15770 5.5 - Medium - September 18, 2020

An issue was discovered in Gradle Enterprise 2018.5. An attacker can potentially make repeated attempts to guess a local user's password, due to lack of lock-out after excessive failed logins.

Improper Restriction of Excessive Authentication Attempts

An issue was discovered in Gradle Enterprise 2017.3 - 2020.2.4 and Gradle Enterprise Build Cache Node 1.0 - 9.2

CVE-2020-15768 7.5 - High - September 18, 2020

An issue was discovered in Gradle Enterprise 2017.3 - 2020.2.4 and Gradle Enterprise Build Cache Node 1.0 - 9.2. Unrestricted HTTP header reflection in Gradle Enterprise allows remote attackers to obtain authentication cookies, if they are able to discover a separate XSS vulnerability. This potentially allows an attacker to impersonate another user. Gradle Enterprise affected application request paths:/info/headers, /cache-info/headers, /admin-info/headers, /distribution-broker-info/headers. Gradle Enterprise Build Cache Node affected application request paths:/cache-node-info/headers.

An issue was discovered in Gradle Enterprise before 2020.2.5

CVE-2020-15767 5.3 - Medium - September 18, 2020

An issue was discovered in Gradle Enterprise before 2020.2.5. The cookie used to convey the CSRF prevention token is not annotated with the secure attribute, which allows an attacker with the ability to MITM plain HTTP requests to obtain it, if the user mistakenly uses a HTTP instead of HTTPS address to access the server. This cookie value could then be used to perform CSRF.

Missing Encryption of Sensitive Data

In Gradle Enterprise before 2018.5.3

CVE-2019-11402 9.8 - Critical - April 22, 2019

In Gradle Enterprise before 2018.5.3, Build Cache Nodes did not store the credentials at rest in an encrypted format.

Insufficiently Protected Credentials

In Gradle Enterprise before 2018.5.2, Build Cache Nodes

CVE-2019-11403 9.8 - Critical - April 22, 2019

In Gradle Enterprise before 2018.5.2, Build Cache Nodes would reflect the configured password back when viewing the HTML page source of the settings page.

Information Disclosure

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Gradle Build Cache Node or by Gradle? Click the Watch button to subscribe.

Gradle
Vendor

subscribe