{"id":"CVE-2022-39311","aliases":["CVE-2022-39311"],"related":[],"kind":"vulnerability","state":"published","title":"Compromised agents may be able to execute remote code on GoCD Server","summary":"GoCD is a continuous delivery server. GoCD helps you automate and streamline the build-test-release cycle for continuous delivery of your product. GoCD versions prior to 21.1.0 are vulnerable to remote code execution on the server from a malicious or compromised agent. The Spring RemoteInvocation endpoint exposed agent communication and allowed deserialization of arbitrary java objects, as well as subsequent remote code execution. Exploitation requires agent-level authentication, thus an attacker would need to either compromise an existing agent, its network communication or register a new agent to practically exploit this vulnerability. This issue is fixed in GoCD version 21.1.0. There are currently no known workarounds.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"GoCD is a continuous delivery server. GoCD helps you automate and streamline the build-test-release cycle for continuous delivery of your product. GoCD versions prior to 21.1.0 are vulnerable to remote code execution on the server from a malicious or compromised agent. The Spring RemoteInvocation endpoint exposed agent communication and allowed deserialization of arbitrary java objects, as well as subsequent remote code execution. Exploitation requires agent-level authentication, thus an attacker would need to either compromise an existing agent, its network communication or register a new agent to practically exploit this vulnerability. This issue is fixed in GoCD version 21.1.0. There are currently no known workarounds.","source":"cvelist"},{"lang":"es","text":"GoCD es un servidor de entrega continua. GoCD le ayuda a automatizar y agilizar el ciclo de construcción-prueba-lanzamiento para la entrega continua de su producto. Las versiones de GoCD anteriores a la 21.1.0 son vulnerables a la ejecución remota de código en el servidor desde un agente malicioso o comprometido. El endpoint de Spring RemoteInvocation exponía la comunicación con el agente y permitía la deserialización de objetos java arbitrarios, así como la posterior ejecución de código remoto. La explotación requiere autenticación a nivel de agente, por lo que un atacante necesitaría comprometer un agente existente, su comunicación de red o registrar un nuevo agente para explotar prácticamente esta vulnerabilidad. Este problema ha sido corregido en GoCD versión 21.1.0. Actualmente no se presentan mitigaciones conocidas","source":"nvd"}],"published":"2022-10-14T00:00:00.000Z","modified":"2026-06-17T04:58:07.260Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"< 21.1.0","status":"affected"}],"vendor":"gocd","product":"gocd","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"21.1.0"}],"vendor":"thoughtworks","product":"gocd","cpe":"cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm","tags":["patch","release-notes","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.gocd.org/releases/#21-1-0","tags":["release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:47:44.162Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39311","url":"https://www.cve.org/CVERecord?id=CVE-2022-39311","licence":"CVE Terms of Use","modified":"2025-04-23T16:49:45.317Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39311","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39311","licence":"Public domain","modified":"2026-06-17T04:58:07.260Z"}],"updatedAt":"2026-11-25T22:58:15.737Z","epss":{"score":0.02216,"percentile":0.83148,"date":"2026-12-01T12:00:22.000Z"}}