ALAS2-2025-3083
Active ModerateALAS2-2025-3083 (medium): python-ldap
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2025-61911 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2025-3083.html |
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
Read full publisher description 1206 characters
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`. (CVE-2025-61911)
Solution
Run yum update python-ldap or yum update --advisory ALAS2-2025-3083 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1python-ldap
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- python-ldap-2.4.15-2.amzn2.0.7.aarch64
- python-ldap-debuginfo-2.4.15-2.amzn2.0.7.aarch64
-
2python-ldap
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- python-ldap-2.4.15-2.amzn2.0.7.i686
- python-ldap-debuginfo-2.4.15-2.amzn2.0.7.i686
-
3python-ldap
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python-ldap-2.4.15-2.amzn2.0.7.src
-
4python-ldap
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- python-ldap-2.4.15-2.amzn2.0.7.x86_64
- python-ldap-debuginfo-2.4.15-2.amzn2.0.7.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2025-61911 https://access.redhat.com/security/cve/CVE-2025-61911
- CVE-2025-61911 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61911
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2025-3083.html | Unknown | 9f54606dcbf36022f044e48dd15b662ec31cc6eae1ca05b18dfe4f07e2229e4a | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-3083.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-3083.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |