GitHub Advisoryadvisory · Maven

GHSA-vp55-fhxx-vcx8 Maven Extension plugin for Gradle Enterprise vulnerable to Deserialization of Untrusted Data

HIGH Published 2022-05-24 Modified 2023-05-16 Official page ↗
Aliases
CVE-2020-15777
Ecosystem
Maven
Packages
com.gradle:gradle-enterprise-maven-extension
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-502
Reviewed
2023-05-16

Affected packages

• Maven com.gradle:gradle-enterprise-maven-extension: < 1.6 → fixed in 1.6

Description

An issue was discovered in the Maven Extension plugin before 1.6 for Gradle Enterprise. It is vulnerable to, in the worst case, Remote Code Execution, and in the general case, local privilege escalation. Internally, the plugin uses a socket connection to send serialized Java objects that are deserialized by a Java standard library ObjectInputStream. This ObjectInputStream was not restricted to a list of trusted classes, thus allowing an attacker to send a malicious deserialization gadget chain to achieve code execution. The socket was not bound exclusively to localhost. The port this socket is assigned to is randomly selected by the JVM and is not intentionally exposed to the public (either by design or documentation).

Related

Alias · CVE (1)

  • CVE-2020-15777 An issue was discovered in the Maven Extension plugin before 1.6 for Gradle Enterprise. vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References