Incorrect Regular Expression in python-ldap - CVE-2021-46823
Published: July 11, 2022
Vulnerability details
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.
Affected software
Ubuntu
openEuler
python3-pyldap (Ubuntu package)
python3-ldap (Ubuntu package)
python-pyldap (Ubuntu package)
python-ldap (Ubuntu package)
python-ldap-help
python3-ldap
python-ldap
HPE Moonshot 1500 Chassis Manager
How to mitigate CVE-2021-46823
python3-pyldap (Ubuntu package) - addressed in versions 3.0.0-1ubuntu0.2, 3.2.0-4ubuntu2.1, 3.2.0-4ubuntu5.1, 3.2.0-4ubuntu7.1
python3-ldap (Ubuntu package) - addressed in versions 3.0.0-1ubuntu0.2, 3.2.0-4ubuntu2.1, 3.2.0-4ubuntu5.1, 3.2.0-4ubuntu7.1
python-pyldap (Ubuntu package) - update to 3.0.0-1ubuntu0.2
python-ldap (Ubuntu package) - update to 3.0.0-1ubuntu0.2
python-ldap-help - update to 3.1.0-4
python3-ldap - update to 3.1.0-4
python-ldap - update to 3.1.0-4
HPE Moonshot 1500 Chassis Manager - update to 4.0-b43