PyPi: Python-Ldap

CVE-2021-46823

Safety vulnerability ID: 49493

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jun 18, 2022 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Python-ldap 3.4.0 includes a fix for CVE-2021-46823: versions before 3.4.0 are 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.
https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r8wq-qrxc-hmcm

Affected package

python-ldap

Latest version: 3.4.4

Python modules for implementing LDAP clients

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2021-46823.


MISC:https://exchange.xforce.ibmcloud.com/vulnerabilities/221507: https://exchange.xforce.ibmcloud.com/vulnerabilities/221507
MISC:https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r8wq-qrxc-hmcm: https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r8wq-qrxc-hmcm

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.5

CVSS v3 Details

MEDIUM 6.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
LOW
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 4.0
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
SINGLE
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Impact (A)
PARTIAL