CVE-2017-14623
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
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | golang-github-go-ldap-ldap | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | golang-github-go-ldap-ldap | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | golang-github-go-ldap-ldap | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | golang-github-go-ldap-ldap | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | golang-github-go-ldap-ldap | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | golang-github-go-ldap-ldap | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | golang-github-go-ldap-ldap | Fix pending | UBUNTU-CVE-2017-14623 | |
| Debian 14 | golang-github-go-ldap-ldap | Fixed | 2.5.1-1 | DEBIAN-CVE-2017-14623 |
| Debian 13 | golang-github-go-ldap-ldap | Fixed | 2.5.1-1 | DEBIAN-CVE-2017-14623 |
| Debian 12 | golang-github-go-ldap-ldap | Fixed | 2.5.1-1 | DEBIAN-CVE-2017-14623 |
| Go library | github.com/go-ldap/ldap | Fixed | 2.5.0+incompatible | GHSA-x27w-qxhg-343v |
References
- https://github.com/go-ldap/ldap/pull/126
- https://github.com/go-ldap/ldap/commit/95ede1266b237bf8e9aa5dce0b3250e51bfefe66
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.