CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (6.5) in python-ldap python-ldap. EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in python-ldap 3.4.0.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hpython-ldap (PyPI): fixed in 3.4.0Explain CVE-2021-46823 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-46823?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-46823?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-46823 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| python-ldap:python-ldap | before 3.4.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-qfr5-wjpw-q4c4 | PyPI | python-ldap | <3.4.0 | 3.4.0 |
| GHSA-r8wq-qrxc-hmcm | PyPI | python-ldap | <3.4.0 | 3.4.0 |
| PYSEC-2026-912 | PyPI | python-ldap | <3.4.0 | 3.4.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | python-ldap | 3.4.0-1 | DEBIAN-CVE-2021-46823 |
| Ubuntu | 18.04:LTS | python-ldap | 3.0.0-1ubuntu0.2 | UBUNTU-CVE-2021-46823 USN-5508-1 |
| Ubuntu | 20.04:LTS | python-ldap | 3.2.0-4ubuntu2.1 | UBUNTU-CVE-2021-46823 USN-5508-1 |
| Ubuntu | 22.04:LTS | python-ldap | 3.2.0-4ubuntu7.1 | UBUNTU-CVE-2021-46823 USN-5508-1 |
| Azure Linux | 2 | python-ldap | 3.4.0-1 | AZL-9960 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
Red Hat Enterprise Linux 9.0.z is affected by this vulnerability as it includes the vulnerable version of python-ldap (3.3.1). However, the issue was resolved in Red Hat Enterprise Linux 9.2 and later via RHEA-2023:2359, which rebased python-ldap to version 3.4.3 containing the upstream fix. Red Hat Enterprise Linux 10 is not affected, as it does not ship the vulnerable code.
Check input for an excessive amount of backslashes in schemas. More than a dozen backslashes per line are atypical.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 1.2 | python-ldap | Will not fix | |
| Red Hat Ansible Tower 3 | python-ldap | Will not fix | |
| Red Hat Enterprise Linux 6 | python-ldap | Out of support scope | |
| Red Hat Enterprise Linux 7 | python-ldap | Out of support scope | |
| Red Hat Enterprise Linux 8 | python-ldap | Will not fix | |
| Red Hat Enterprise Linux 9 | python-ldap | Will not fix | |
| Red Hat OpenStack Platform 13 (Queens) | python-ldap3 | Out of support scope | |
| Red Hat OpenStack Platform 16.1 | python-ldap3 | Not affected | |
| Red Hat OpenStack Platform 16.2 | python-ldap3 | Not affected | |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-46823.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.