CVE-2022-39309
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. High risk of data exposure.
- Exploit odds
- 1.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.1% in the next 30 days (EPSS).
- Severity: 4.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.1% · EPSS, next 30 days
- Weakness
- CWE-200 · Information exposure
- Record status
- Modified
Affected
- Thoughtworks Gocd < 21.1.0
Attack profile CVSS 3.1 · 4.9
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-39309.md and follow it. Check whether this project is affected by CVE-2022-39309. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/gocd/gocd/commit/691b479f1310034992da141760e9c5d1f5b60e8a
- https://github.com/gocd/gocd/releases/tag/21.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-f9qg-xcxq-cgv9
- https://www.gocd.org/releases/#21-1-0
- https://github.com/gocd/gocd/commit/691b479f1310034992da141760e9c5d1f5b60e8a
- https://github.com/gocd/gocd/releases/tag/21.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-f9qg-xcxq-cgv9
- https://www.gocd.org/releases/#21-1-0
References
- https://github.com/gocd/gocd/commit/691b479f1310034992da141760e9c5d1f5b60e8a
- https://github.com/gocd/gocd/releases/tag/21.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-f9qg-xcxq-cgv9
- https://www.gocd.org/releases/#21-1-0
- https://github.com/gocd/gocd/commit/691b479f1310034992da141760e9c5d1f5b60e8a
- https://github.com/gocd/gocd/releases/tag/21.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-f9qg-xcxq-cgv9
- https://www.gocd.org/releases/#21-1-0