{"id":"CVE-2020-15777","aliases":["CVE-2020-15777","GHSA-vp55-fhxx-vcx8"],"related":[],"kind":"vulnerability","state":"published","title":"Maven Extension plugin for Gradle Enterprise vulnerable to Deserialization of Untrusted Data","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó un problema en el plugin de la Extensión Maven versiones anteriores a 1.6 para el Gradle Enterprise. La extensión utiliza una conexión de socorro para enviar objetos Java serializados. La deserialización no está restringida a una lista de permisos, lo que permite a un atacante lograr la ejecución de código a través de una cadena de gadgets de deserialización maliciosa. El socket no está vinculado exclusivamente al localhost. El puerto al que se asigna este socket se selecciona al azar y no se expone intencionadamente al público (ni por diseño ni por documentación). Esto podría utilizarse potencialmente para lograr la ejecución remota de código y la escalada de privilegios locales","source":"nvd"}],"published":"2020-08-25T21:34:43.000Z","modified":"2026-06-17T02:57:10.010Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","score":4.6,"rating":"MEDIUM"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6"}],"ecosystem":"Maven","package":"com.gradle:gradle-enterprise-maven-extension","purl":"pkg:maven/com.gradle/gradle-enterprise-maven-extension","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.6"}],"vendor":"gradle","product":"maven","cpe":"cpe:2.3:a:gradle:maven:*:*:*:*:*:gradle:*:*","source":"nvd"}],"references":[{"url":"https://security.gradle.com/advisory/CVE-2020-15777","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://docs.gradle.com/enterprise/maven-extension/#1_6","tags":["release-notes","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15777","tags":["advisory"],"sources":["ghsa"]},{"url":"https://docs.gradle.com/enterprise/maven-extension/#release_history","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15777","url":"https://www.cve.org/CVERecord?id=CVE-2020-15777","licence":"CVE Terms of Use","modified":"2024-08-04T13:22:30.724Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vp55-fhxx-vcx8","url":"https://github.com/advisories/GHSA-vp55-fhxx-vcx8","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:37.966Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15777","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15777","licence":"Public domain","modified":"2026-06-17T02:57:10.010Z"}],"updatedAt":"2026-11-25T22:57:54.362Z","epss":{"score":0.01077,"percentile":0.66004,"date":"2026-12-01T12:00:22.000Z"}}