—
PYSEC-2020-159
Quick fix
PYSEC-2020-159 — alerta-server: upgrade to the fixed version with the command below.
pip install --upgrade 'alerta-server>=2bfa31779a4c9df2fa68fa4d0c5c909698c5ef65'Details
In Alerta before version 8.1.0, 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 authentication mechanism for anonymous authorization are affected. A fix has been implemented in version 8.1.0 that returns HTTP 401 Unauthorized response for any authentication attempts where the password field is empty. As a workaround LDAP administrators can disallow unauthenticated bind requests by clients.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/alerta-server
Introduced in:
0Fixed in: 2bfa31779a4c9df2fa68fa4d0c5c909698c5ef65Fix
pip install --upgrade 'alerta-server>=2bfa31779a4c9df2fa68fa4d0c5c909698c5ef65'References
- https://github.com/alerta/alerta/issues/1277[REPORT]
- https://pypi.org/project/alerta-server/8.1.0/[PACKAGE]
- https://github.com/alerta/alerta/security/advisories/GHSA-5hmm-x8q8-w5jh[ADVISORY]
- https://github.com/alerta/alerta/commit/2bfa31779a4c9df2fa68fa4d0c5c909698c5ef65[FIX]
- https://tools.ietf.org/html/rfc4513#section-5.1.2[WEB]
- https://github.com/alerta/alerta/pull/1345[WEB]