{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-56321","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-12-18T23:44:51.604Z","datePublished":"2025-01-03T15:41:40.737Z","dateUpdated":"2025-01-03T17:50:41.277Z"},"containers":{"cna":{"title":"GoCD can allow malicious GoCD admins to abuse backup configuration to gain additional host access","problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-36","lang":"en","description":"CWE-36: Absolute Path Traversal","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.8,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxq"},{"name":"https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0","tags":["x_refsource_MISC"],"url":"https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0"},{"name":"https://github.com/gocd/gocd/releases/tag/24.5.0","tags":["x_refsource_MISC"],"url":"https://github.com/gocd/gocd/releases/tag/24.5.0"},{"name":"https://www.gocd.org/releases/#24-5-0","tags":["x_refsource_MISC"],"url":"https://www.gocd.org/releases/#24-5-0"}],"affected":[{"vendor":"gocd","product":"gocd","versions":[{"version":">= 18.9.0, < 24.5.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2025-01-03T15:48:22.716Z"},"descriptions":[{"lang":"en","value":"GoCD is a continuous deliver server. GoCD versions 18.9.0 through 24.4.0 (inclusive) can allow GoCD admins to abuse the backup configuration \"post-backup script\" feature to potentially execute arbitrary scripts on the hosting server or container as GoCD's user, rather than pre-configured scripts. In practice the impact of this vulnerability is limited, as in most configurations a user who can log into the GoCD UI as an admin also has host administration permissions for the host/container that GoCD runs on, in order to manage artifact storage and other service-level configuration options. Additionally, since a GoCD admin has ability to configure and schedule pipelines tasks on all GoCD agents available to the server, the fundamental functionality of GoCD allows co-ordinated task execution similar to that of post-backup-scripts. However in restricted environments where the host administration is separated from the role of a GoCD admin, this may be unexpected. The issue is fixed in GoCD 24.5.0. Post-backup scripts can no longer be executed from within certain sensitive locations on the GoCD server. No known workarounds are available."}],"source":{"advisory":"GHSA-7jr3-gh3w-vjxq","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-03T17:49:54.699823Z","id":"CVE-2024-56321","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-01-03T17:50:41.277Z"}}]}}