CVE-2020-15777

HIGH

Gradle Enterprise Maven Extension < 1.6 - Remote Code Execution via Untrusted Java Deserialization

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory x_refsource_confirm
https://security.gradle.com/advisory/CVE-2020-15777
Release Notes, Vendor Advisory x_refsource_confirm
https://docs.gradle.com/enterprise/maven-extension/#1_6

Scores

CVSS v3 7.8
EPSS 0.0105
EPSS Percentile 59.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-502
Status published
Products (2)
com.gradle/gradle-enterprise-maven-extension 0 - 1.6Maven
gradle/maven < 1.6
Published Aug 25, 2020
Tracked Since Feb 18, 2026