CVE-2021-46823
Python vulnerability analysis and mitigation

Overview

Python-ldap before version 3.4.0 contains a denial of service vulnerability when ldap.schema is used for untrusted schema definitions. The vulnerability stems from a regular expression denial of service (ReDoS) flaw in the LDAP schema parser, which could be exploited by remote authenticated attackers through crafted regex input (GitHub Advisory, NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The attack requires network access and low complexity, with low privileges required and no user interaction needed. While the scope remains unchanged and there is no impact on confidentiality or integrity, the vulnerability can have a high impact on availability (NVD).

Impact

The vulnerability affects the availability of systems using python-ldap's schema parser functionality. When exploited, it can cause a denial of service condition, particularly when processing untrusted schema definitions (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in python-ldap version 3.4.0. As a workaround, users can check input for excessive amounts of backslashes in schemas, as more than a dozen backslashes per line are considered atypical. The patch includes a workaround that refuses schema definitions with an excessive amount of backslashes to prevent ReDoS attacks (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • pgadmin4
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management