Deserialization in Gocd
CVE-2022-39311
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.017 (76.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 76.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: +0.000
Affected products
- Gocd — versions < 21.1.0
- Thoughtworks Gocd
Weakness classification (CWE)
References
- github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm (Patch, Third Party Advisory, Release Notes)
- github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8 (Patch, Third Party Advisory)
- www.gocd.org/releases/ (Release Notes, Vendor Advisory)
Frequently asked questions
- What is CVE-2022-39311?
- CVE-2022-39311 is a critical-severity vulnerability in Gocd, classified under Deserialization of Untrusted Data. CVSS score: 9.1/10. Published 2022-10-14.
- How severe is CVE-2022-39311?
- Critical severity. CVSS v3 base score is 9.1 out of 10.