CVEfocus › CVE database › CVE-2021-46823

CVE-2021-46823

CVSS 6.5 MediumEPSS 2.0% (higher than 81% of CVEs)Published 2022-06-18Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04python-ldapFixed3.2.0-4ubuntu7.1UBUNTU-CVE-2021-46823
Ubuntu 20.04python-ldapFixed3.2.0-4ubuntu2.1UBUNTU-CVE-2021-46823
Ubuntu 18.04python-ldapFixed3.0.0-1ubuntu0.2UBUNTU-CVE-2021-46823
Debian 14python-ldapFixed3.4.0-1DEBIAN-CVE-2021-46823
Debian 13python-ldapFixed3.4.0-1DEBIAN-CVE-2021-46823
Debian 12python-ldapFixed3.4.0-1DEBIAN-CVE-2021-46823
Red Hat Enterprise Linux 9python3-ldapWill not fix
Will not fix
Red Hat Enterprise Linux 8python3-ldapWill not fix
Will not fix
Red Hat Enterprise Linux 7python-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-ldapWill not fix
Out of support scope
PyPI librarypython-ldapFixed3.4.0PYSEC-2026-912

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.