CVEvulnerability

CVE-2022-39308

5.9 MEDIUM Published 2022-10-14 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-10-14
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
CVSS 3.1 ([email protected])
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-1254, CWE-208, CWE-697

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.

Affected configurations

• thoughtworks gocd (>= 19.2.0 < 19.11.0)

Related

Weakness · CWE (3)

  • CWE-1254 Incorrect Comparison Logic Granularity weakness
  • CWE-208 Observable Timing Discrepancy weakness
  • CWE-697 Incorrect Comparison weakness

References