CVE-2021-46823
publishedpython-ldap: Regular expression denial of service in LDAP schema parser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2406 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Ubuntu | bionic | python-ldap | Advisory build | 3.0.0-1ubuntu0.2 | USN-5508-1 |
| Amazon Linux | AL2 | python-ldapaarch64 | Listed in advisory | Not stated | ALAS2-2024-2406 |
| Ubuntu | bionic | python-pyldap | Advisory build | 3.0.0-1ubuntu0.2 | USN-5508-1 |
| Ubuntu | bionic | python3-ldap | Advisory build | 3.0.0-1ubuntu0.2 | USN-5508-1 |
| Ubuntu | bionic | python3-pyldap | Advisory build | 3.0.0-1ubuntu0.2 | USN-5508-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | python-ldap | Advisory build | 3.2.0-4ubuntu2.1 | USN-5508-1 |
| Ubuntu | focal | python3-ldap | Advisory build | 3.2.0-4ubuntu2.1 | USN-5508-1 |
| Ubuntu | focal | python3-pyldap | Advisory build | 3.2.0-4ubuntu2.1 | USN-5508-1 |
| Ubuntu | jammy | python-ldap | Advisory build | 3.2.0-4ubuntu7.1 | USN-5508-1 |
| Ubuntu | jammy | python3-ldap | Advisory build | 3.2.0-4ubuntu7.1 | USN-5508-1 |
| Ubuntu | jammy | python3-pyldap | Advisory build | 3.2.0-4ubuntu7.1 | USN-5508-1 |
| Amazon Linux | AL2 | python-ldapi686 | Listed in advisory | Not stated | ALAS2-2024-2406 |
| Amazon Linux | AL2 | python-ldapsrc | Listed in advisory | Not stated | ALAS2-2024-2406 |
| Amazon Linux | AL2 | python-ldapx86_64 | Listed in advisory | Not stated | ALAS2-2024-2406 |
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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
2Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ae731552e2f717bc2f5e76d206e9b0ad120578635727ba190a7d590f66c58f00
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record