{"id":"UBUNTU-CVE-2021-46823","details":"python-ldap before 3.4.0 is vulnerable to a denial of service when ldap.schema is used for untrusted schema definitions, because of a regular expression denial of service (ReDoS) flaw in the LDAP schema parser. By sending crafted regex input, a remote authenticated attacker could exploit this vulnerability to cause a denial of service condition.","modified":"2026-02-04T03:51:52.218542Z","published":"2022-06-18T16:15:00Z","related":["USN-5508-1"],"upstream":["CVE-2021-46823"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-46823"},{"type":"REPORT","url":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r8wq-qrxc-hmcm"},{"type":"REPORT","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/221507"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5508-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-46823"}],"affected":[{"package":{"name":"python-ldap","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-ldap@3.0.0-1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0-1ubuntu0.2"}]}],"versions":["2.4.41-1","2.5.2-1","3.0.0~b4-1","3.0.0-1","3.0.0-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-ldap","binary_version":"3.0.0-1ubuntu0.2"},{"binary_version":"3.0.0-1ubuntu0.2","binary_name":"python-pyldap"},{"binary_name":"python3-ldap","binary_version":"3.0.0-1ubuntu0.2"},{"binary_version":"3.0.0-1ubuntu0.2","binary_name":"python3-pyldap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46823.json"}},{"package":{"name":"python-ldap","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-ldap@3.2.0-4ubuntu2.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.0-4ubuntu2.1"}]}],"versions":["3.1.0-2build1","3.1.0-2build2","3.2.0-3","3.2.0-3ubuntu1","3.2.0-3ubuntu2","3.2.0-3ubuntu3","3.2.0-4ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-ldap","binary_version":"3.2.0-4ubuntu2.1"},{"binary_name":"python3-pyldap","binary_version":"3.2.0-4ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46823.json"}},{"package":{"name":"python-ldap","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-ldap@3.2.0-4ubuntu7.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.0-4ubuntu7.1"}]}],"versions":["3.2.0-4ubuntu5","3.2.0-4ubuntu6","3.2.0-4ubuntu7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-ldap","binary_version":"3.2.0-4ubuntu7.1"},{"binary_name":"python3-pyldap","binary_version":"3.2.0-4ubuntu7.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46823.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}