What’s Vulnerable › Vulnerabilities
CVE-2020-15777
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-08-25 · updated 2026-06-17
- Weakness: CWE-502
Description
An issue was discovered in the Maven Extension plugin before 1.6 for Gradle Enterprise. The extension uses a socket connection to send serialized Java objects. Deserialization is not restricted to an allow-list, thus allowing an attacker to achieve code execution via a malicious deserialization gadget chain. The socket is not bound exclusively to localhost. The port this socket is assigned to is randomly selected and is not intentionally exposed to the public (either by design or documentation). This could potentially be used to achieve remote code execution and local privilege escalation.
Affected products
- gradle Maven: before 1.6 — fixed in 1.6
How to fix
Upgrade to a fixed version: gradle Maven 1.6. Check the vendor advisory for mitigations.
References
- https://docs.gradle.com/enterprise/maven-extension/#1_6
- https://security.gradle.com/advisory/CVE-2020-15777
- https://docs.gradle.com/enterprise/maven-extension/#1_6
- https://security.gradle.com/advisory/CVE-2020-15777
Get alerted when CVE-2020-15777 or the next vulnerability affects your stack