WaratekVRT Sign in

CVE-2020-15777 Gradle Maven

Affected softwareGradle Maven
Severity7.8 High CVSS 3.1 2 scores
Fixed in1.6
WeaknessDeserialization of untrusted data (CWE-502)
Published25 Aug 2020
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 6 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.0% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2020-15777

Upgrade Gradle Maven to 1.6 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.8 HIGH v3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.8 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 4.6 none AV:L/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.gradle:gradle-enterprise-maven-extension 0 1.6 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.gradle gradle-enterprise-maven-extension generic < 1.6
nvd gradle maven generic < 1.6

References

URLTags
https://docs.gradle.com/enterprise/maven-extension/#1_6 WEB
https://docs.gradle.com/enterprise/maven-extension/#release_history WEB
https://security.gradle.com/advisory/CVE-2020-15777 WEB

Timeline

Published2020-08-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.