CVE-2022-24832
published high CVSS 3.1 · 8.2Bundled ldap-authentication-plugin fails to neutralise LDAP special elements in usernames
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gocd | — | gocd>= 17.5.0, < 22.1.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gocd | gocd | >= 17.5.0, < 22.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
8- https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication
- https://github.com/gocd/gocd-ldap-authentication-plugin
- https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3
- https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144
- https://github.com/gocd/gocd/pull/10244
- https://github.com/gocd/gocd/releases/tag/22.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3h
- https://www.gocd.org/releases/#22-1-0
Provider assertions
3GitHub_M · cna
Bundled ldap-authentication-plugin fails to neutralise LDAP special elements in usernames
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 64226b80ae1423aea35f6aa2eb713a25ae2abeb622b3fd53104de48963656e1c
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record