Advisory

GHSA-qfr5-wjpw-q4c4

Also known as: CVE-2021-46823, GHSA-r8wq-qrxc-hmcm, PYSEC-2026-912

Summary

Denial of Service in python-ldap

Details

python-ldap before 3.4.0 is vulnerable to a denial of service when ldap.schema is used for untrusted schema definitions, because of a regular expression denial of service (ReDoS) flaw in the LDAP schema parser. By sending crafted regex input, a remote authenticated attacker could exploit this vulnerability to cause a denial of service condition.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-06-19 00:00 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

python-ldap

PyPI · All systems

Affected

  • introduced 0, fixed 3.4.0 (ecosystem)

Fixed versions

3.4.0

Fix

  • Fixed version 3.4.0
    pip install --upgrade python-ldap==3.4.0

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