# CVE-2022-27225: Gradle Enterprise before 2021.4.3 relies on cleartext data transmission in some situations.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2022-03-16T00:10:18.000Z
- Modified: 2026-06-17T04:36:31.810Z
- Weaknesses: CWE-311
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gradle enterprise: from 2020.1 before 2021.4.3

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://security.gradle.com/advisory/2022-03> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-27225](https://www.cve.org/CVERecord?id=CVE-2022-27225), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-27225](https://nvd.nist.gov/vuln/detail/CVE-2022-27225), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-27225 · Whole record: https://cve.day/CVE-2022-27225.json · Rebuilt by cve.day 2026-11-25T22:58:10.134Z
