Upstream information

CVE-2025-61911 at MITRE

Description

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`.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail SUSE
Base Score 6.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact Low
Integrity Impact Low
Availability Impact None
CVSSv3 Version 3.1
CVSS v4 Scores
CVSS detail CNA (GitHub) SUSE
Base Score 5.5 5.5
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network Network
Attack Complexity Low Low
Attack Requirements None None
Privileges Required None None
User Interaction None None
Vulnerable System Confidentiality Impact Low Low
Vulnerable System Integrity Impact Low Low
Vulnerable System Availability Impact None None
Subsequent System Confidentiality Impact None None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1251912 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP6 python-ldap3 Affected
SUSE Linux Enterprise Desktop 15 SP7 python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP6 python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 python-ldap3 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 python-ldap Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 python-ldap Affected
SUSE Linux Enterprise Module for Python 3 15 SP6 python-ldap3 Affected
SUSE Linux Enterprise Module for Python 3 15 SP7 python-ldap3 Affected
SUSE Linux Enterprise Server 15 SP6 python-ldap3 Affected
SUSE Linux Enterprise Server 15 SP7 python-ldap3 Affected
SUSE Linux Enterprise Server 16.0 python-ldap Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python-ldap3 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 python-ldap3 Affected
SUSE Linux Enterprise Server for SAP Applications 16.0 python-ldap Affected
openSUSE Leap 15.6 python-ldap Affected
openSUSE Leap 15.6 python-ldap3 Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP3 python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP3 python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP5 python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS python-ldap3 Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS python-ldap3 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP3 python-ldap Affected
SUSE Linux Enterprise Module for Server Applications 15 SP3 python-ldap3 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP4 python-ldap3 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP5 python-ldap3 Affected
SUSE Linux Enterprise Server 15 SP3 python-ldap Affected
SUSE Linux Enterprise Server 15 SP3 python-ldap3 Affected
SUSE Linux Enterprise Server 15 SP3-LTSS python-ldap Affected
SUSE Linux Enterprise Server 15 SP3-LTSS python-ldap3 Affected
SUSE Linux Enterprise Server 15 SP4 python-ldap3 Affected
SUSE Linux Enterprise Server 15 SP4-LTSS python-ldap3 Affected
SUSE Linux Enterprise Server 15 SP5 python-ldap3 Affected
SUSE Linux Enterprise Server 15 SP5-LTSS python-ldap3 Affected
SUSE Manager Proxy 4.3 python-ldap3 Affected
SUSE Manager Proxy LTS 4.3 python-ldap3 Affected
SUSE Manager Retail Branch Server 4.3 python-ldap3 Affected
SUSE Manager Retail Branch Server LTS 4.3 python-ldap3 Affected
SUSE Manager Server 4.3 python-ldap3 Affected
SUSE Manager Server LTS 4.3 python-ldap3 Affected
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 python-ldap Affected
SUSE Enterprise Storage 6 python-ldap Affected
SUSE Enterprise Storage 7 python-ldap Affected
SUSE Enterprise Storage 7.1 python-ldap Affected
SUSE Enterprise Storage 7.1 python-ldap3 Affected
SUSE Linux Enterprise Desktop 11 SP4 python-ldap Affected
SUSE Linux Enterprise Desktop 15 SP1 python-ldap Affected
SUSE Linux Enterprise Desktop 15 SP2 python-ldap Affected
SUSE Linux Enterprise Desktop 15 SP3 python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP1 python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP2 python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS python-ldap Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-ldap3 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 python-ldap Affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 python-ldap Affected
SUSE Linux Enterprise Module for Package Hub 15 SP1 python-ldap Affected
SUSE Linux Enterprise Module for Package Hub 15 SP2 python-ldap Affected
SUSE Linux Enterprise Module for Package Hub 15 SP3 python-ldap Affected
SUSE Linux Enterprise Module for Package Hub 15 SP4 python-ldap Affected
SUSE Linux Enterprise Module for Server Applications 15 SP1 python-ldap Affected
SUSE Linux Enterprise Real Time 15 SP2 python-ldap Affected
SUSE Linux Enterprise Real Time 15 SP3 python-ldap Affected
SUSE Linux Enterprise Real Time 15 SP3 python-ldap3 Affected
SUSE Linux Enterprise Real Time 15 SP4 python-ldap3 Affected
SUSE Linux Enterprise Server 11 SP4 python-ldap Affected
SUSE Linux Enterprise Server 11 SP4 LTSS python-ldap Affected
SUSE Linux Enterprise Server 11 SP4-LTSS python-ldap Affected
SUSE Linux Enterprise Server 15 SP1 python-ldap Affected
SUSE Linux Enterprise Server 15 SP1-BCL python-ldap Affected
SUSE Linux Enterprise Server 15 SP1-LTSS python-ldap Affected
SUSE Linux Enterprise Server 15 SP2 python-ldap Affected
SUSE Linux Enterprise Server 15 SP2-BCL python-ldap Affected
SUSE Linux Enterprise Server 15 SP2-LTSS python-ldap Affected
SUSE Linux Enterprise Server 15 SP3-BCL python-ldap Affected
SUSE Linux Enterprise Server 15 SP3-BCL python-ldap3 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-ldap Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-ldap Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-ldap Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-ldap3 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-ldap3 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-ldap3 Affected
SUSE Manager Proxy 4.0 python-ldap Affected
SUSE Manager Proxy 4.1 python-ldap Affected
SUSE Manager Proxy 4.2 python-ldap Affected
SUSE Manager Proxy 4.2 python-ldap3 Affected
SUSE Manager Retail Branch Server 4.0 python-ldap Affected
SUSE Manager Retail Branch Server 4.1 python-ldap Affected
SUSE Manager Retail Branch Server 4.2 python-ldap Affected
SUSE Manager Retail Branch Server 4.2 python-ldap3 Affected
SUSE Manager Server 4.0 python-ldap Affected
SUSE Manager Server 4.1 python-ldap Affected
SUSE Manager Server 4.2 python-ldap Affected
SUSE Manager Server 4.2 python-ldap3 Affected
SUSE OpenStack Cloud 5 python-ldap Affected
openSUSE Leap 15.3 python-ldap Affected
openSUSE Leap 15.3 python-ldap3 Affected
openSUSE Leap 15.4 python-ldap3 Affected
openSUSE Leap 15.5 python-ldap3 Affected
Products at an unknown state of their lifecycle.
SUSE OpenStack Cloud 4 python-ldap Affected


SUSE Timeline for this CVE

CVE page created: Sat Oct 11 02:00:19 2025
CVE page last modified: Mon Oct 13 12:36:38 2025