Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.gradle/gradle-enterprise-maven-extension
  4. ›
  5. CVE-2020-15777

CVE-2020-15777: Deserialization of Untrusted Data

May 24, 2022 (updated May 16, 2023)

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

  • docs.gradle.com/enterprise/maven-extension/
  • docs.gradle.com/enterprise/maven-extension/
  • github.com/advisories/GHSA-vp55-fhxx-vcx8
  • nvd.nist.gov/vuln/detail/CVE-2020-15777
  • security.gradle.com/advisory/CVE-2020-15777

Code Behaviors & Features

Detect and mitigate CVE-2020-15777 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6

Fixed versions

  • 1.6

Solution

Upgrade to version 1.6 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/com.gradle/gradle-enterprise-maven-extension/CVE-2020-15777.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:47 +0000.