CVE-2017-14623: Access Restriction Bypass in go-ldap in github.com/go-ldap/ldap

github.com/go-ldap/ldap Updated 02 Oct 2025

Summary

21/08/2024
Yes i
High
8.1

CVE-2017-14623: Access Restriction Bypass in go-ldap in github.com/go-ldap/ldap. Affects github.com/go-ldap/ldap versions < 2.5.0+incompatible. Fixed in 2.5.0+incompatible. How to fix ↓

Also tracked for

The same CVE-2017-14623 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The go-ldap package, available on GitHub as github.com/go-ldap/ldap, is a Go library that provides functionality for interacting with LDAP (Lightweight Directory Access Protocol) servers. It allows developers to perform various operations such as connecting to an LDAP server, searching for entries, modifying entries, and more. This package is widely used in Go applications that require LDAP integration.

Vulnerability Detail

The go-ldap package is affected by an access restriction bypass vulnerability, identified as CVE-2017-14623. This vulnerability allows an attacker to bypass access restrictions and gain unauthorized access to LDAP resources. By exploiting this vulnerability, an attacker can perform unauthorized operations on the LDAP server, potentially leading to data leakage, privilege escalation, or other malicious activities. The vulnerability originates from a flaw in the go-ldap package's access control mechanisms.

How To Fix

Latest published version: v3.4.15+incompatible as of 23 Oct 2026

go get github.com/go-ldap/ldap@v3.4.15+incompatible

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.5.0+incompatible

This is the first release that contains the fix.

go get github.com/go-ldap/ldap@v2.5.0+incompatible

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update to the latest version of the go-ldap package as soon as possible.

Conclusion

The go-ldap package is affected by an access restriction bypass vulnerability that allows unauthorized access to LDAP resources. Developers should update to version 2.5.0 or higher to mitigate this vulnerability. There is no known workaround available.

See every vulnerability recorded for github.com/go-ldap/ldap →

Share this vulnerability

FAQ

go-ldap is a Go library that provides functionality for interacting with LDAP servers. It is commonly used in Go applications for LDAP integration.

This vulnerability allows an attacker to bypass access restrictions and gain unauthorized access to LDAP resources. It can lead to data leakage, privilege escalation, or other malicious activities.

To fix this vulnerability, update your usage of the go-ldap package to version 2.5.0 or higher.

There is no known workaround for this vulnerability. It is recommended to update to the latest version of the go-ldap package.

You can find more information about this vulnerability in the CVE-2017-14623 advisory.

How To Fix

Latest published version: v3.4.15+incompatible as of 23 Oct 2026

go get github.com/go-ldap/ldap@v3.4.15+incompatible

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.5.0+incompatible

This is the first release that contains the fix.

go get github.com/go-ldap/ldap@v2.5.0+incompatible

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback