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

EcosystemPackageFixed inAdvisory
Debian:12python-ldap3.4.0-1DEBIAN-CVE-2021-46823
Debian:13python-ldap3.4.0-1DEBIAN-CVE-2021-46823
Debian:14python-ldap3.4.0-1DEBIAN-CVE-2021-46823
PyPIpython-ldap3.4.0GHSA-qfr5-wjpw-q4c4
PyPIpython-ldap3.4.0GHSA-r8wq-qrxc-hmcm
PyPIpython-ldap3.4.0PYSEC-2026-912
Ubuntu:22.04:LTSpython-ldap3.2.0-4ubuntu7.1UBUNTU-CVE-2021-46823
Ubuntu:22.04:LTSpython-ldap3.2.0-4ubuntu7.1USN-5508-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References