{"id":"GHSA-x27w-qxhg-343v","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.","aliases":["CVE-2017-14623","GO-2022-0887"],"modified":"2024-08-21T15:58:39.070062Z","published":"2022-02-15T01:57:18Z","database_specific":{"cwe_ids":["CWE-287"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-05-20T17:02:56Z","nvd_published_at":"2017-09-20T23:29:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-14623"},{"type":"WEB","url":"https://github.com/go-ldap/ldap/pull/126"},{"type":"WEB","url":"https://github.com/go-ldap/ldap/commit/95ede1266b237bf8e9aa5dce0b3250e51bfefe66"}],"affected":[{"package":{"name":"github.com/go-ldap/ldap","ecosystem":"Go","purl":"pkg:golang/github.com/go-ldap/ldap"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.5.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-x27w-qxhg-343v/GHSA-x27w-qxhg-343v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}