# CVE-2022-24832: Bundled ldap-authentication-plugin fails to neutralise LDAP special elements in usernames

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.70%, higher than 77% of CVEs (2026-12-01)
- Published: 2022-04-11T20:20:18.000Z
- Modified: 2026-06-17T04:32:37.223Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

GoCD is an open source a continuous delivery server. The bundled gocd-ldap-authentication-plugin included with the GoCD Server fails to correctly escape special characters when using the username to construct LDAP queries. While this does not directly allow arbitrary LDAP data exfiltration, it can allow an existing LDAP-authenticated GoCD user with malicious intent to construct and execute malicious queries, allowing them to deduce facts about other users or entries within the LDAP database (e.g alternate fields, usernames, hashed passwords etc) through brute force mechanisms. This only affects users who have a working LDAP authorization configuration enabled on their GoCD server, and only is exploitable by users authenticating using such an LDAP configuration. This issue has been fixed in GoCD 22.1.0, which is bundled with gocd-ldap-authentication-plugin v2.2.0-144.

(As written by CVE List.)

## Affected

- gocd gocd: >= 17.5.0, < 22.1.0
- thoughtworks gocd: from 17.5.0 before 22.1.0

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 4.9 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:N`

## References

- <https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3h> (third-party-advisory)
- <https://github.com/gocd/gocd/pull/10244> (patch, third-party-advisory)
- <https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3> (patch, third-party-advisory)
- <https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication> (vendor-advisory)
- <https://github.com/gocd/gocd-ldap-authentication-plugin> (product, third-party-advisory)
- <https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144> (release-notes, third-party-advisory)
- <https://github.com/gocd/gocd/releases/tag/22.1.0> (release-notes, third-party-advisory)
- <https://www.gocd.org/releases/#22-1-0> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2022-24832](https://www.cve.org/CVERecord?id=CVE-2022-24832), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-24832](https://nvd.nist.gov/vuln/detail/CVE-2022-24832), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24832 · Whole record: https://cve.day/CVE-2022-24832.json · Rebuilt by cve.day 2026-11-25T22:58:10.543Z
