Vulnerability · Published Aug 25, 2020 · Assigned by mitre
CVE-2020-15777
High 7.8
In plain English
A high-severity security flaw in the com.gradle:gradle-enterprise-maven-extension package (Maven). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.gradle:gradle-enterprise-maven-extension | 1.6 | GHSA-vp55-fhxx-vcx8 |
Affected products (as reported)
References
- https://security.gradle.com/advisory/CVE-2020-15777 x_refsource_CONFIRM
- https://docs.gradle.com/enterprise/maven-extension/#1_6 x_refsource_CONFIRM