CVE-2022-39311
CRITICALGoCD < 21.1.0 - Authenticated Remote Code Execution via Spring RemoteInvocation Deserialization
Title source: llmDescription
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.
References (3)
Core 3
Core References
Patch, Third Party Advisory
https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8
Patch, Release Notes, Third Party Advisory
https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm
Release Notes, Vendor Advisory
https://www.gocd.org/releases/#21-1-0
Scores
CVSS v3
9.1
EPSS
0.0158
EPSS Percentile
72.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-502
Status
published
Products (1)
thoughtworks/gocd
< 21.1.0
Published
Oct 14, 2022
Tracked Since
Feb 18, 2026