Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gradle | Enterprise | >= 2020.1, < 2021.4.3 |
Related Weaknesses (CWE)
References
- https://security.gradle.com/advisory/2022-03Vendor Advisory
- https://security.gradle.com/advisory/2022-03Vendor Advisory
FAQ
What is CVE-2022-27225?
CVE-2022-27225 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2022-27225?
CVE-2022-27225 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-27225?
Check the references section above for vendor advisories and patch information. Affected products include: Gradle Enterprise.