CVE-2020-15777
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.
How to fix
- gradle maven1.6 or later
- com.gradle:gradle-enterprise-maven-extension1.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gradle maven | v < 1.6 | 1.6 |
| com.gradle:gradle-enterprise-maven-extensionMaven | v < 1.6 | 1.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.