Advisory

GHSA-5hmm-x8q8-w5jh

Also known as: CVE-2020-26214, PYSEC-2020-159

Summary

LDAP authentication bypass with empty password

Details

Impact
Users may be able to bypass LDAP authentication if they provide an empty password when Alerta server is configure to use LDAP as the authorization provider.

Only deployments where LDAP servers are configured to allow unauthenticated binds (eg. default on Active Directory) are affected.

Patches
A fix has been implemented that returns HTTP 401 Unauthorized response for any authentication attempts where the password field is empty. See https://github.com/alerta/alerta/pull/1345

Workarounds
LDAP administrators can disallow unauthenticated bind requests by clients.

References
https://tools.ietf.org/html/rfc4513#section-5.1.2
https://pypi.org/project/alerta-server/8.1.0/

For more information
If you have any questions or comments about this advisory:

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-11-06 17:35 UTC
Modified
2026-07-08 06:00 UTC

Affected packages and fixes

alerta-server

PyPI · All systems

Affected

  • introduced 8.0.0, fixed 8.1.0 (ecosystem)

Fixed versions

8.1.0

Fix

  • Fixed version 8.1.0
    pip install --upgrade alerta-server==8.1.0

alerta-server

PyPI · All systems

Affected

  • introduced 0, fixed 7.5.7 (ecosystem)

Fixed versions

7.5.7

Fix

  • Fixed version 7.5.7
    pip install --upgrade alerta-server==7.5.7

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