CVE-2022-39308

GoCD API authentication of user access tokens subject to timing attack during comparison

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.

Categories

6.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.20%
Vendor Advisory gocd.org
Affected: gocd gocd
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-39308?
CVE-2022-39308 has been scored as a medium severity vulnerability.
How to fix CVE-2022-39308?
To fix CVE-2022-39308, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-39308 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-39308 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-39308?
CVE-2022-39308 affects gocd gocd.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.