CVE-2020-15777

High

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.

SeverityHigh
CVSS7.8
Exploit probability64. percentile1%
ProductGradle Maven
PublishedAug 25, 2020
First seenAug 25, 2020

How to fix

Update
  • gradle maven1.6 or later
  • com.gradle:gradle-enterprise-maven-extension1.6 or later

Affected products

ProductAffected versionsFixed in
gradle mavenv < 1.61.6
com.gradle:gradle-enterprise-maven-extensionMavenv < 1.61.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.