CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Gradle

CVE-2020-15777
Gradle Maven vulnerability

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 products

Maven. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gradle Maven runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Gradle products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.