Advisory

GHSA-x27w-qxhg-343v

Also known as: CVE-2017-14623, GO-2022-0887

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-15 01:57 UTC
Modified
2024-08-21 15:58 UTC

Affected packages and fixes

github.com/go-ldap/ldap

Go · All systems

Affected

  • introduced 0, fixed 2.5.0 (semver)

Fixed versions

2.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences