CVE-2022-27225

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGradle Enterprise
PublishedMar 16, 2022
First seenMar 16, 2022

How to fix

Update
  • gradle enterprise2021.4.3 or later

Affected products

ProductAffected versionsFixed in
gradle enterprise2020.1 ≤ v < 2021.4.32021.4.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-27225 · Gradle Enterprise · Dark Radar