GHSA-x27w-qxhg-343v

Suggest an improvement
Source
https://github.com/advisories/GHSA-x27w-qxhg-343v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-x27w-qxhg-343v/GHSA-x27w-qxhg-343v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x27w-qxhg-343v
Aliases
Published
2022-02-15T01:57:18Z
Modified
2024-08-21T15:58:39.070062Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Access Restriction Bypass in go-ldap
Details

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.

Database specific
{
    "nvd_published_at": "2017-09-20T23:29:00Z",
    "cwe_ids": [
        "CWE-287"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-20T17:02:56Z"
}
References

Affected packages

Go / github.com/go-ldap/ldap

Package

Name
github.com/go-ldap/ldap
View open source insights on deps.dev
Purl
pkg:golang/github.com/go-ldap/ldap

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0