CWE
311
Advisory Published
Updated

CVE-2022-27225

First published: Wed Mar 16 2022(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Gradle Enterprise>=2020.1<2021.4.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-27225?

    CVE-2022-27225 is a vulnerability in Gradle Enterprise before 2021.4.3 that relies on cleartext data transmission in some situations.

  • How does Gradle Enterprise use Keycloak?

    Gradle Enterprise uses Keycloak for identity management services.

  • What are the affected versions of Gradle Enterprise?

    Gradle Enterprise versions between 2020.1 and 2021.4.3 are affected.

  • What is the severity of CVE-2022-27225?

    CVE-2022-27225 has a severity value of 6.5, which is considered medium.

  • Where can I find more information about CVE-2022-27225?

    You can find more information about CVE-2022-27225 at the following link: [https://security.gradle.com/advisory/2022-03](https://security.gradle.com/advisory/2022-03)

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203