Access Restriction Bypass Affecting github.com/go-ldap/ldap package, versions <2.5.0
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMGOLDAPLDAP-50053
- published 17 Oct 2017
- disclosed 23 Aug 2017
- credit Tiziano Santoro
Introduced: 23 Aug 2017
CVE-2017-14623 Open this link in a new tabHow to fix?
Upgrade to commit 95ede12
from Aug 24, 2017 or newer.
Overview
github.com/go-ldap/ldap
is a basic LDAP v3 functionality for the GO programming language.
Affected versions of the package are vulnerable to Access Restriction Bypass.
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.