CVE-2022-39308 in Thoughtworks Gocd
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 t...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Thoughtworks | Gocd | ≥ 19.2.0, < 19.11.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-39308 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-065120-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2022-10-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-208: CWE-208
CWE-697: CWE-697
CWE-1254: CWE-1254
Related attack patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-697
CAPEC-7 Blind SQL Injection via CWE-697
CAPEC-8 Buffer Overflow in an API Call via CWE-697
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-697
CAPEC-10 Buffer Overflow via Environment Variables via CWE-697
Show all 33
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-697
CAPEC-24 Filter Failure through Buffer Overflow via CWE-697
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-697
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-697
CAPEC-44 Overflow Binary Resource File via CWE-697
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-697
CAPEC-46 Overflow Variables and Tags via CWE-697
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-697
CAPEC-52 Embedding NULL Bytes via CWE-697
CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-697
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-697
CAPEC-67 String Format Overflow in syslog() via CWE-697
CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-697
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-697
CAPEC-79 Using Slashes in Alternate Encoding via CWE-697
CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-697
CAPEC-92 Forced Integer Overflow via CWE-697
CAPEC-120 Double Encoding via CWE-697
CAPEC-462 Cross-Domain Search Timing via CWE-208
CAPEC-6 Argument Injection via CWE-697
CAPEC-15 Command Delimiters via CWE-697
CAPEC-73 User-Controlled Filename via CWE-697
CAPEC-88 OS Command Injection via CWE-697
CAPEC-182 Flash Injection via CWE-697
CAPEC-267 Leverage Alternate Encoding via CWE-697
CAPEC-541 Application Fingerprinting via CWE-208
CAPEC-580 System Footprinting via CWE-208
CAPEC-26 Leveraging Race Conditions via CWE-1254
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
GoCD versions from 19.2.0 to 19.10.0 are vulnerable to a timing attack due to the use of regular string comparison for access token validation, which could facilitate brute force attacks.
An attacker could exploit the timing discrepancy in the token validation process to perform a brute force attack, attempting to guess valid access tokens by measuring the time taken for each validation attempt.
Questions
What is CVE-2022-39308?
GoCD versions from 19.2.0 to 19.10.0 are vulnerable to a timing attack due to the use of regular string comparison for access token validation, which could facilitate brute force attacks.
What is the CVSS score for CVE-2022-39308?
CVE-2022-39308 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.9%.
Is CVE-2022-39308 actively exploited?
No confirmed active exploitation of CVE-2022-39308 as of 2026-09-25.
How do I remediate CVE-2022-39308?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2022-39308?
CVE-2022-39308 affects Thoughtworks Gocd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Thoughtworks","product":"Gocd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.