CVE-2021-46823: python-ldap
CVSS: 6.5v3.1MediumModified
AliasesMGASA-2022-0310GHSA-qfr5-wjpw-q4c4GHSA-r8wq-qrxc-hmcmPYSEC-2026-912UBUNTU-CVE-2021-46823USN-5508-1DEBIAN-CVE-2021-46823
Published 18-06-2022Last modified 04-08-2024
Vulnerability summary
CVE-2021-46823 is a medium (CVSS 6.5) vulnerability in python-ldap. EPSS estimates a 1.94% chance of exploitation in the next 30 days, higher than 79.8% of scored vulnerabilities.
CVSS score
6.5/10
010
Medium · v3.1 (NVD)EPSS score
1.94%
0%100%
Low · +0.05 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 18-06-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versionsMedium 6.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSourcesAll 4 agree
- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Medium 4.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:S/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.94%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
+0.05 pp
From 1.90% on 19-09-2026
19-09-202619-10-2026
EPSS score1.94%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- python-ldap< 3.4.0-1
Mageia1 product
- python-ldap< 3.3.1-1.1.mga8
PyPI1 product
- python-ldap< 3.4.0
Python-ldap1 product
- python-ldap< 3.4.0
Ubuntu1 product
- python-ldap< 3.0.0-1ubuntu0.2 | < 3.2.0-4ubuntu2.1 | < 3.2.0-4ubuntu7.1
5 vendors · 5 products
References
13 links- github.com/python-ldap/python-ldap/security/advisories/GHSA-r8wq-qrxc-hmcmX Refsource MISCWEBREPORTThird Party Advisory
- exchange.xforce.ibmcloud.com/vulnerabilities/221507X Refsource MISCWEBREPORTThird Party AdvisoryVDB Entry
- pypi.org/project/python-ldapPACKAGE