CVE-2022-27225
CVE-2022-27225 is a medium-severity vulnerability in Gradle Enterprise with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-311.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (41st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-311
- Affected product: Gradle Enterprise
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-27225?
- 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.
- How severe is CVE-2022-27225?
- CVE-2022-27225 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2022-27225 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (41st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-27225?
- CVE-2022-27225 affects Gradle Enterprise. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-27225?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-27225 published?
- CVE-2022-27225 was published on 2022-03-16 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:gradle:enterprise:*:*:*:*:*:*:*:*
More vulnerabilities in Gradle Enterprise
- CVE-2023-49238 — Critical (CVSS 9.8): In Gradle Enterprise before 2023.1, a remote attacker may be able to gain access to a new installation (in certain…
- CVE-2022-27919 — Critical (CVSS 9.8): Gradle Enterprise before 2022.1 allows remote code execution if the installation process did not specify an initial…
- CVE-2021-41589 — Critical (CVSS 9.8): In Gradle Enterprise before 2021.3 (and Enterprise Build Cache Node before 10.0), there is potential cache poisoning…
- CVE-2019-11403 — Critical (CVSS 9.8): In Gradle Enterprise before 2018.5.2, Build Cache Nodes would reflect the configured password back when viewing the…
- CVE-2019-11402 — Critical (CVSS 9.8): In Gradle Enterprise before 2018.5.3, Build Cache Nodes did not store the credentials at rest in an encrypted format.
- CVE-2020-15776 — High (CVSS 8.8): An issue was discovered in Gradle Enterprise 2018.2 - 2020.2.4. The CSRF prevention token is stored in a request cookie…
All CVEs affecting Gradle Enterprise →
Other CWE-311 (Missing Encryption of Sensitive Data) vulnerabilities
- CVE-2023-6339 — Critical (CVSS 10.0): Google Nest WiFi Pro root code-execution & user-data compromise
- CVE-2023-4420 — Critical (CVSS 9.8): A remote unprivileged attacker can intercept the communication via e.g. Man-In-The-Middle, due to the absence of…
- CVE-2023-0750 — Critical (CVSS 9.8): Yellobrik PEC-1864 implements authentication checks via javascript in the frontend interface. When the device can be…
- CVE-2020-15331 — Critical (CVSS 9.8): Zyxel CloudCNM SecuManager 3.1.0 and 3.1.1 has a hardcoded OAUTH_SECRET_KEY in /opt/axess/etc/default/axess.
- CVE-2019-3431 — Critical (CVSS 9.8): All versions up to V4.01.01.02 of ZTE ZXCLOUD GoldenData VAP product have encryption problems vulnerability. Attackers…
- CVE-2019-12924 — Critical (CVSS 9.8): MailEnable Enterprise Premium 10.23 was vulnerable to XML External Entity Injection (XXE) attacks that could be…
Browse all CWE-311 (Missing Encryption of Sensitive Data) vulnerabilities →