Vulnerability record · CVE-2022-39311 · published 14 October 2022
CVE-2022-39311: Thoughtworks gocd deserialization of untrusted data vulnerability
Thoughtworks · Gocd
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8 | PatchThird Party Advisory |
| https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm | PatchRelease NotesThird Party Advisory |
| https://www.gocd.org/releases/#21-1-0 | Release NotesVendor Advisory |
| https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8 | PatchThird Party Advisory |
| https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm | PatchRelease NotesThird Party Advisory |
| https://www.gocd.org/releases/#21-1-0 | Release NotesVendor Advisory |
Track CVE-2022-39311 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-39311), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.