CVE-2022-39311 json
Compromised agents may be able to execute remote code on GoCD Server
published 2022-10-14 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-41799
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
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.
Patch / fix
- thoughtworks gocd 21.1.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
2.22% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- gocd gocd
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8
patch, third-party-advisory
-
github.com
/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm
patch, release-notes, third-party-advisory
-
gocd.org
/releases/#21-1-0
release-notes, vendor-advisory
Sources
- CVE List CVE-2022-39311
- NVD CVE-2022-39311
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.