CVE-2017-14623Go-ldap Project Ldap
High 8.1 No auth needed
Follow: this CVE · Go-ldap Project · Go-ldap Project Ldap We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Sep 20, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In the ldap.v2 (aka go-ldap) package through 2.5.0 for Go, an attacker may be able to login with an empty password. This issue affects an application using this package if these conditions are met: (1) it relies only on the return error of the Bind function call to determine whether a user is authorized (i.e., a nil return value is interpreted as successful authorization) and (2) it is used with an LDAP server allowing unauthenticated bind.
What to do
- Apply the vendor's security update for Ldap.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/go-ldap/ldap |
< 2.5.0 |
2.5.0 |
go get github.com/go-ldap/ldap@v2.5.0 |
| Go | github.com/go-ldap/ldap |
< 2.5.0+incompatible |
2.5.0+incompatible |
go get github.com/go-ldap/ldap@v2.5.0+incompatible |
Per OSV / GitHub Advisories (GHSA-x27w-qxhg-343v, GO-2022-0887). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go-ldap_project | ldap | ≤ 2.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch