Access Restriction Bypass Affecting github.com/go-ldap/ldap package, versions <2.5.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (57th percentile)

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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOLDAPLDAP-50053
  • published17 Oct 2017
  • disclosed23 Aug 2017
  • creditTiziano Santoro

Introduced: 23 Aug 2017

CVE-2017-14623  (opens in a new tab)
CWE-287  (opens in a new tab)

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

CVSS Scores

version 3.1