CVE-2022-39308
CVE-2022-39308 is a medium-severity vulnerability in Thoughtworks Gocd with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-697.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 1% (46th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-697
- Affected product: Thoughtworks Gocd
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-39308?
- 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.
- How severe is CVE-2022-39308?
- CVE-2022-39308 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity low, and availability none.
- Is CVE-2022-39308 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-39308?
- CVE-2022-39308 affects Thoughtworks Gocd. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-39308?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-39308 published?
- CVE-2022-39308 was published on 2022-10-14 and last updated on 2026-06-17.
References
- https://github.com/gocd/gocd/commit/236d4baf92e6607f2841c151c855adcc477238b8
- https://github.com/gocd/gocd/releases/tag/19.11.0
- https://github.com/gocd/gocd/security/advisories/GHSA-999p-fp84-jcpq
- https://www.gocd.org/releases/#19-11-0
Affected products (1)
- cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
More vulnerabilities in Thoughtworks Gocd
- CVE-2021-43290 — Critical (CVSS 9.8): An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker who has compromised a GoCD agent can upload a…
- CVE-2021-44659 — Critical (CVSS 9.8): Adding a new pipeline in GoCD server version 21.3.0 has a functionality that could be abused to do an un-intended…
- CVE-2022-39311 — Critical (CVSS 9.1): GoCD is a continuous delivery server. GoCD helps you automate and streamline the build-test-release cycle for…
- CVE-2024-56320 — High (CVSS 8.8): GoCD is a continuous deliver server. GoCD versions prior to 24.5.0 are vulnerable to admin privilege escalation due to…
- CVE-2022-29184 — High (CVSS 8.8): GoCD is a continuous delivery server. In GoCD versions prior to 22.1.0, it is possible for existing authenticated users…
- CVE-2021-43286 — High (CVSS 8.8): An issue was discovered in ThoughtWorks GoCD before 21.3.0. An attacker with privileges to create a new pipeline on a…
All CVEs affecting Thoughtworks Gocd →
Other CWE-697 vulnerabilities
- CVE-2025-54336 — Critical (CVSS 9.8): In Plesk Obsidian 18.0.70, _isAdminPasswordValid uses an == comparison. Thus, if the correct password is "0e" followed…
- CVE-2024-24621 — Critical (CVSS 9.8): Softaculous Webuzo contains an authentication bypass vulnerability through the password reset functionality. Remote,…
- CVE-2024-5217 — Critical (CVSS 9.8): ServiceNow has addressed an input validation vulnerability that was identified in the Washington DC, Vancouver, and…
- CVE-2023-32571 — Critical (CVSS 9.8): Dynamic Linq 1.0.7.10 through 1.2.25 before 1.3.0 allows attackers to execute arbitrary code and commands when…
- CVE-2022-47034 — Critical (CVSS 9.8): A type juggling vulnerability in the component /auth/fn.php of PlaySMS v1.4.5 and earlier allows attackers to bypass…
- CVE-2021-44971 — Critical (CVSS 9.8): Multiple Tenda devices are affected by authentication bypass, such as AC15V1.0 Firmware V15.03.05.20_multi?AC5V1.0…