Skip to content
OpenAdvisories
Medium · 4.9 CVE-2022-39310 EUVD-2022-41798

Malicious agent may be able to impersonate another agent in GoCD

Published Oct 14, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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 can allow one authenticated agent to impersonate another agent, and thus receive work packages for other agents due to broken access control and incorrect validation of agent tokens within the GoCD server. Since work packages can contain sensitive information such as credentials intended only for a given job running against a specific agent environment, this can cause accidental information disclosure. Exploitation requires knowledge of agent identifiers and ability to authenticate as an existing agent with the GoCD server. This issue is fixed in GoCD version 21.1.0. There are currently no known workarounds.

Affected products

VendorProductAffectedFixed
gocd gocd < 21.1.0 —

References