Live threats

All CVEs / Go-ldap Project

CVE-2017-14623Go-ldap Project Ldap

High 8.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ldap.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
go-ldap_projectldap≤ 2.5.0

Official sources

References

Links published by the sources. Open them with care.