Ubuntu update for python-ldap



Published: 2022-07-11
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-46823
CWE-ID CWE-185
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

python-ldap (Ubuntu package)
Operating systems & Components / Operating system package or component

python-pyldap (Ubuntu package)
Operating systems & Components / Operating system package or component

python3-ldap (Ubuntu package)
Operating systems & Components / Operating system package or component

python3-pyldap (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Incorrect Regular Expression

EUVDB-ID: #VU65120

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-46823

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing regular expressions in the LDAP schema parser. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.

Mitigation

Update the affected package python-ldap to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.04

python-ldap (Ubuntu package): before 3.0.0-1ubuntu0.2

python-pyldap (Ubuntu package): before 3.0.0-1ubuntu0.2

python3-ldap (Ubuntu package): before 3.2.0-4ubuntu7.1

python3-pyldap (Ubuntu package): before 3.2.0-4ubuntu7.1

External links

http://ubuntu.com/security/notices/USN-5508-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###