CVE-2025-61911
CVE-2025-61911 · python-ldap has sanitization bypass in ldap.filter.escape_filter_chars
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, the sanitization method `ldap.filter.escape_filter_chars` can be tricked to skip escaping of special characters when a crafted `list` or `dict` is supplied as the `assertion_value` parameter, and the non-default `escape_mode=1` is configured. The method `ldap.filter.escape_filter_chars` supports 3 different escaping modes. `escape_mode=0` (default) and `escape_mode=2` happen to raise exceptions when a `list` or `dict` object is supplied as the `assertion_value` parameter. However, `escape_mode=1` computes without performing adequate logic to ensure a fully escaped return value. If an application relies on the vulnerable method in the `python-ldap` library to escape untrusted user input, an attacker might be able to abuse the vulnerability to launch ldap injection attacks which could potentially disclose or manipulate ldap data meant to be inaccessible to them. Version 3.4.5 fixes the issue by adding a type check at the start of the `ldap.filter.escape_filter_chars` method to raise an exception when the supplied `assertion_value` parameter is not of type `str`.
CVSS 5.5 · Mittel · EPSS 0,3% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · python
Betroffene Produkte und Versionen
python-ldap
- Softwareversionen
- < 3.4.5: Betroffen
Keine Korrektur veröffentlicht
python-ldap Debian:12
- Softwareversionen
- 3.4.3-2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.4.3-2+deb12u1
Auf 3.4.3-2+deb12u1 aktualisieren
python-ldap Debian:13
- Softwareversionen
- 3.4.4-1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.4.4-1+deb13u1
Auf 3.4.4-1+deb13u1 aktualisieren
python-ldap Debian:14
- Softwareversionen
- 3.4.4-1
- 3.4.4-2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.4.5-1
Auf 3.4.5-1 aktualisieren
python-ldap PyPI
- Softwareversionen
- 2.3.13
- 2.4.0
- 2.4.1
- 2.4.10
- 2.4.12
- 2.4.13
- 2.4.14
- 2.4.15
- 2.4.16
- 2.4.17
- 2.4.18
- 2.4.19
- 2.4.2
- 2.4.20
- 2.4.21
- 2.4.22
- 2.4.25
- 2.4.26
- 2.4.27
- 2.4.28
- 2.4.29
- 2.4.3
- 2.4.30
- 2.4.31
- 2.4.32
- 2.4.33
- 2.4.35
- 2.4.36
- 2.4.37
- 2.4.38
- 2.4.39
- 2.4.4
- 2.4.40
- 2.4.41
- 2.4.42
- 2.4.43
- 2.4.44
- 2.4.45
- 2.4.5
- 2.4.6
- 2.4.7
- 2.4.8
- 2.4.9
- 2.5.1
- 2.5.2
- 3.0.0
- 3.0.0b1
- 3.0.0b2
- 3.0.0b3
- 3.0.0b4
- 3.1.0
- 3.2.0
- 3.3.0
- 3.3.1
- 3.4.0
- 3.4.2
- 3.4.3
- 3.4.4
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.4.5
Auf 3.4.5 aktualisieren
python-ldap Ubuntu:Pro:16.04:LTS
- Softwareversionen
- 2.4.20-0.1
- 2.4.22-0.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2.4.22-0.1ubuntu0.1~esm1
Auf 2.4.22-0.1ubuntu0.1~esm1 aktualisieren
python-ldap Ubuntu:Pro:18.04:LTS
- Softwareversionen
- 2.4.41-1
- 2.5.2-1
- 3.0.0~b4-1
- 3.0.0-1
- 3.0.0-1ubuntu0.1
- 3.0.0-1ubuntu0.2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.0.0-1ubuntu0.2+esm1
Auf 3.0.0-1ubuntu0.2+esm1 aktualisieren
python-ldap Ubuntu:Pro:20.04:LTS
- Softwareversionen
- 3.1.0-2build1
- 3.1.0-2build2
- 3.2.0-3
- 3.2.0-3ubuntu1
- 3.2.0-3ubuntu2
- 3.2.0-3ubuntu3
- 3.2.0-4ubuntu2
- 3.2.0-4ubuntu2.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.2.0-4ubuntu2.1+esm1
Auf 3.2.0-4ubuntu2.1+esm1 aktualisieren
python-ldap Ubuntu:22.04:LTS
- Softwareversionen
- 3.2.0-4ubuntu5
- 3.2.0-4ubuntu6
- 3.2.0-4ubuntu7
- 3.2.0-4ubuntu7.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.2.0-4ubuntu7.2
Auf 3.2.0-4ubuntu7.2 aktualisieren
python-ldap Ubuntu:24.04:LTS
- Softwareversionen
- 3.4.3-2build2
- 3.4.3-2build3
- 3.4.3-2ubuntu1
- 3.4.4-1
- 3.4.4-1build1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.4.4-1ubuntu0.24.04.1
Auf 3.4.4-1ubuntu0.24.04.1 aktualisieren
python-ldap Ubuntu:25.10
- Softwareversionen
- 3.4.4-1build3
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3.4.4-1ubuntu0.25.10.1
Auf 3.4.4-1ubuntu0.25.10.1 aktualisieren