CVE-2022-39311 Compromised agents may be able to execute remote code on GoCD Server
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| thoughtworks gocd | < 21.1.0 | 21.1.0 | Fixed |
| gocd | = < 21.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gocd | = < 21.1.0 | No fix listed |
| thoughtworks gocd | < 21.1.0 | 21.1.0 |
References
- github.com patch release-notes third-party-advisory
- github.com patch third-party-advisory
- www.gocd.org release-notes vendor-advisory