Vulnerability · Published Jun 18, 2022 · Assigned by mitre
CVE-2021-46823
Medium 6.5
In plain English
A medium-severity security flaw in the python-ldap package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.9%top 19.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-ldap | 3.4.0-1 | DEBIAN-CVE-2021-46823 |
| Debian:13 | python-ldap | 3.4.0-1 | DEBIAN-CVE-2021-46823 |
| Debian:14 | python-ldap | 3.4.0-1 | DEBIAN-CVE-2021-46823 |
| PyPI | python-ldap | 3.4.0 | GHSA-qfr5-wjpw-q4c4 |
| PyPI | python-ldap | 3.4.0 | GHSA-r8wq-qrxc-hmcm |
| PyPI | python-ldap | 3.4.0 | PYSEC-2026-912 |
| Ubuntu:22.04:LTS | python-ldap | 3.2.0-4ubuntu7.1 | UBUNTU-CVE-2021-46823 |
| Ubuntu:22.04:LTS | python-ldap | 3.2.0-4ubuntu7.1 | USN-5508-1 |