{"id":"CVE-2022-39311","published":"2022-10-14T00:00:00Z","modified":"2025-04-23T16:49:45Z","title":"Compromised agents may be able to execute remote code on GoCD Server","vendor":"gocd","product":"gocd","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02216,"percentile":0.83073,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm","tags":[]},{"url":"https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8","tags":[]},{"url":"https://www.gocd.org/releases/#21-1-0","tags":[]}],"priority":{"score":23.0,"factors":[{"name":"EPSS percentile","points":16.61},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"gocd","affectedVersions":[{"vendor":"gocd","product":"gocd","versions":["< 21.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:47:44.162898Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-41799","exploited":false,"provenance":"source"}}