Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2025-61912

Опубликовано: 10 окт. 2025
Источник: redhat
CVSS3: 5.3
EPSS Низкий

Описание

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.

A vulnerability exists in the python-ldap's ldap.dn.escape_dn_chars() helper function, where the null byte (\x00) is improperly escaped by emitting a backslash followed by a literal NUL instead of the required RFC 4514 hex form \00. When this helper is used on untrusted input to build LDAP distinguished names (DNs), it may cause a client-side failure, before any communication with the LDAP server occurs. This results in a client side denial of service (DoS) for parts of the application that rely on the helper for DN construction.

Отчет

Availability impact is considered Low, as the flaw is limited to denial of service (client-side) only.

It is important to note that the python-ldap3 package (https://github.com/cannatag/ldap3) is entirely separate and not affected. Only the python-ldap package (https://github.com/python-ldap/python-ldap) contains the vulnerable implementation.

Меры по смягчению последствий

No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability beyond these steps.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Ansible Automation Platform 2automation-controllerFix deferred
Red Hat Ansible Automation Platform 2python3.11-ldapFix deferred
Red Hat Ansible Automation Platform 2python3x-ldapFix deferred
Red Hat Enterprise Linux 10python-ldapFix deferred
Red Hat Enterprise Linux 6python-ldapOut of support scope
Red Hat Enterprise Linux 7python-ldapOut of support scope
Red Hat Enterprise Linux 8python-ldapOut of support scope
Red Hat Enterprise Linux 9python-ldapFix deferred
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-aodh-apiOut of support scope
Red Hat OpenStack Platform 13 (Queens)rhosp13/openstack-aodh-baseOut of support scope

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-170
https://bugzilla.redhat.com/show_bug.cgi?id=2403230python-ldap: python-ldap Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination

EPSS

Процентиль: 34%
0.00139
Низкий

5.3 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.3
ubuntu
6 месяцев назад

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.

CVSS3: 5.3
nvd
6 месяцев назад

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.

CVSS3: 5.3
debian
6 месяцев назад

python-ldap is a lightweight directory access protocol (LDAP) client A ...

github
6 месяцев назад

python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination

CVSS3: 5.3
fstec
6 месяцев назад

Уязвимость компонента dn.py модуля Python для работы с LDAP-каталогами Python-LDAP, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

Процентиль: 34%
0.00139
Низкий

5.3 Medium

CVSS3