CVE-2022-39310 json
Malicious agent may be able to impersonate another agent in GoCD
published 4y ago modified 4mo ago also EUVD-2022-41798
- cvss
- 4.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
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 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.
Patch / fix
- thoughtworks gocd 21.1.0
- github.com/gocd/gocd#8877 pull request
- github.com/gocd/gocd/security/advisories/GHSA-4fp5-33jh-hgcq advisory
Is CVE-2022-39310 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- gocd gocd
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/gocd/gocd/pull/8877
patch, third-party-advisory
-
github.com
/gocd/gocd/security/advisories/GHSA-4fp5-33jh-hgcq
patch, release-notes, third-party-advisory
-
gocd.org
/releases/#21-1-0
release-notes, vendor-advisory
Sources
- CVE List CVE-2022-39310
- NVD CVE-2022-39310
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.