Security mailing lists by PureSourceCode

CVE-2021-46823

MEDIUM 6.5CVSS 3.1

Denial of Service in python-ldap

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.

Published
18 Jun 2022
Last modified
8 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-1333
Also known as
GHSA-qfr5-wjpw-q4c4GHSA-r8wq-qrxc-hmcmPYSEC-2026-912
Sources
NVDJSONOSV GHSA-qfr5-wjpw-q4c4JSONOSV GHSA-r8wq-qrxc-hmcmJSONOSV PYSEC-2026-912JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python-ldap python-ldap
cpe:2.3:a:python-ldap:python-ldap:*:*:*:*:*:*:*:*
< 3.4.0 3.4.0
OSV PyPI python-ldap < 3.4.0 3.4.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jun 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Nov 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.