Amazon Linux Security Advisory
ALAS2-2025-3058
Amazon Linux 2 2017.12 - ALAS2-2025-3058: medium priority package update for python-ldap
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-61912: python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, ldap.dn.escape_dn_chars() escapes \x00 incorrectly by emitting a backslash followed by a literal NUL byte instead of the RFC-4514 hex form \00. Any application that uses this helper to construct DNs from untrusted input can be made to consistently fail before a request is sent to the LDAP server (e.g., AD), resulting in a client-side denial of service. Version 3.4.5 contains a patch for the issue.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | python-ldap | All versions before 2.4.15-2.amzn2.0.6 (fixed in 2.4.15-2.amzn2.0.6) |
| Amazon Linux:2 | python-ldap-debuginfo | All versions before 2.4.15-2.amzn2.0.6 (fixed in 2.4.15-2.amzn2.0.6) |