{"api_version":"1","generated_at":"2026-07-23T13:47:20+00:00","cve":"CVE-2022-39311","urls":{"html":"https://cve.report/CVE-2022-39311","api":"https://cve.report/api/cve/CVE-2022-39311.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39311","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39311"},"summary":{"title":"CVE-2022-39311","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-10-14 20:15:00","updated_at":"2022-10-19 17:12:00"},"problem_types":["CWE-502"],"metrics":[],"references":[{"url":"https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm","name":"https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm","refsource":"CONFIRM","tags":[],"title":"Compromised agents able to execute remote code on GoCD Server · Advisory · gocd/gocd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8","name":"https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8","refsource":"MISC","tags":[],"title":"Disable RMI endpoint by default · gocd/gocd@7b88b70 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.gocd.org/releases/#21-1-0","name":"https://www.gocd.org/releases/#21-1-0","refsource":"MISC","tags":[],"title":"Releases - Version notes | GoCD","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39311","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39311","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"39311","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"thoughtworks","cpe5":"gocd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-39311","STATE":"PUBLIC","TITLE":"Compromised agents may be able to execute remote code on GoCD Server"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"gocd","version":{"version_data":[{"version_value":"< 21.1.0"}]}}]},"vendor_name":"gocd"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-502: Deserialization of Untrusted Data"}]}]},"references":{"reference_data":[{"name":"https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm","refsource":"CONFIRM","url":"https://github.com/gocd/gocd/security/advisories/GHSA-2hjh-3p3p-8hcm"},{"name":"https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8","refsource":"MISC","url":"https://github.com/gocd/gocd/commit/7b88b70d6f7f429562d5cab49a80ea856e34cdc8"},{"name":"https://www.gocd.org/releases/#21-1-0","refsource":"MISC","url":"https://www.gocd.org/releases/#21-1-0"}]},"source":{"advisory":"GHSA-2hjh-3p3p-8hcm","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-10-14 20:15:00","lastModifiedDate":"2022-10-19 17:12:00","problem_types":["CWE-502"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*","versionEndExcluding":"21.1.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}