GitHub Advisoryadvisory · PyPI

GHSA-qfr5-wjpw-q4c4 Denial of Service in python-ldap

MEDIUM Published 2022-06-19 Modified 2022-06-29 Official page ↗
Aliases
CVE-2021-46823
Ecosystem
PyPI
Packages
python-ldap
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333
Reviewed
2022-06-20

Affected packages

• PyPI python-ldap: < 3.4.0 → fixed in 3.4.0

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.

Related

Alias · CVE (1)

  • CVE-2021-46823 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… vulnerability

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References