CVE-2022-24832
Bundled ldap-authentication-plugin fails to neutralise LDAP special elements in usernames
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.7% · top 23% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.2.
Weakness
Affected products
References (8)
- https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3h (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/gocd/gocd/pull/10244 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3 (opens in a new tab)x_refsource_MISCx_transferred
- https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/gocd/gocd-ldap-authentication-plugin (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/gocd/gocd/releases/tag/22.1.0 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.gocd.org/releases/#22-1-0 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-24832)Record last updated .