Vulnerability Details : 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 category: Execute code
Products affected by CVE-2022-39311
- cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-39311
0.61%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 78 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-39311
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
9.1
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
2.3
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2022-39311
-
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2022-39311
-
https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm
Compromised agents able to execute remote code on GoCD Server · Advisory · gocd/gocd · GitHubPatch;Release Notes;Third Party Advisory
-
https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8
Disable RMI endpoint by default · gocd/gocd@7b88b70 · GitHubPatch;Third Party Advisory
-
https://www.gocd.org/releases/#21-1-0
Releases - Version notes | GoCDRelease Notes;Vendor Advisory
Jump to