What’s Vulnerable › Vulnerabilities
CVE-2020-15767
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-09-18 · updated 2026-06-17
- Weakness: CWE-311
Description
An issue was discovered in Gradle Enterprise before 2020.2.5. The cookie used to convey the CSRF prevention token is not annotated with the “secure” attribute, which allows an attacker with the ability to MITM plain HTTP requests to obtain it, if the user mistakenly uses a HTTP instead of HTTPS address to access the server. This cookie value could then be used to perform CSRF.
Affected products
- Gradle Enterprise: before 2020.2.5 — fixed in 2020.2.5
How to fix
Upgrade to a fixed version: Gradle Enterprise 2020.2.5. Check the vendor advisory for mitigations.
References
- https://github.com/gradle/gradle/security/advisories
- https://security.gradle.com/advisory/CVE-2020-15767
- https://github.com/gradle/gradle/security/advisories
- https://security.gradle.com/advisory/CVE-2020-15767
Get alerted when CVE-2020-15767 or the next vulnerability affects your stack