Vulnerabilities > CVE-2022-39309 - Exposure of Resource to Wrong Sphere vulnerability in Thoughtworks Gocd
Summary
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 leak the symmetric key used to encrypt/decrypt any secure variables/secrets in GoCD configuration to authenticated agents. A malicious/compromised agent may then expose that key from memory, and potentially allow an attacker the ability to decrypt secrets intended for other agents/environments if they also are able to obtain access to encrypted configuration values from the GoCD server. This issue is fixed in GoCD version 21.1.0. There are currently no known workarounds.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
References
- https://github.com/gocd/gocd/commit/691b479f1310034992da141760e9c5d1f5b60e8a
- https://github.com/gocd/gocd/commit/691b479f1310034992da141760e9c5d1f5b60e8a
- https://github.com/gocd/gocd/releases/tag/21.1.0
- https://github.com/gocd/gocd/releases/tag/21.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-f9qg-xcxq-cgv9
- https://github.com/gocd/gocd/security/advisories/GHSA-f9qg-xcxq-cgv9
- https://www.gocd.org/releases/#21-1-0
- https://www.gocd.org/releases/#21-1-0