CVE-2022-39308 Details
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 from 19.2.0 to 19.10.0 (inclusive) are subject to a timing attack in validation of access tokens due to use of regular string comparison for validation of the token rather than a constant time algorithm. This could allow a brute force attack on GoCD server API calls to observe timing differences in validations in order to guess an access token generated by a user for API access. This issue is fixed in GoCD version 19.11.0. As a workaround, users can apply rate limiting or insert random delays to API calls made to GoCD Server via a reverse proxy or other fronting web server. Another workaround, users may disallow use of access tokens by users by having an administrator revoke all access tokens through the "Access Token Management" admin function.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gocd/gocd/commit/236d4baf92e6607f2841c151c855adcc477238b8 | CVE | PatchThird Party Advisory |
| https://github.com/gocd/gocd/releases/tag/19.11.0 | CVE | Release NotesThird Party Advisory |
| https://github.com/gocd/gocd/security/advisories/GHSA-999p-fp84-jcpq | CVE | Third Party Advisory |
| https://www.gocd.org/releases/#19-11-0 | CVE | Release NotesVendor Advisory |
| https://github.com/gocd/gocd/commit/236d4baf92e6607f2841c151c855adcc477238b8 | [email protected] | PatchThird Party Advisory |
| https://github.com/gocd/gocd/releases/tag/19.11.0 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/gocd/gocd/security/advisories/GHSA-999p-fp84-jcpq | [email protected] | Third Party Advisory |
| https://www.gocd.org/releases/#19-11-0 | [email protected] | Release NotesVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-697 | Incorrect Comparison | [email protected] |
| CWE-1254 | Incorrect Comparison Logic Granularity | [email protected] |
| CWE-208 | Observable Timing Discrepancy | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| thoughtworks gocd | >= 19.2.0, < 19.11.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 14, 2023 | Reanalysis | [email protected] |
| Oct 18, 2022 | Initial Analysis | [email protected] |