{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-46823","id":"CVE-2021-46823","title":"Denial of Service in python-ldap","description":"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.","descriptionLong":"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.","published":"2022-06-18T15:27:17.000Z","updated":"2026-10-20T10:55:12.304473874Z","reserved":"2022-06-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"python-ldap","purl":"pkg:pypi/python-ldap","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-qfr5-wjpw-q4c4"}],"cwes":["CWE-1333"],"aliases":["GHSA-qfr5-wjpw-q4c4","GHSA-r8wq-qrxc-hmcm","PYSEC-2026-912"],"references":[{"url":"https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r8wq-qrxc-hmcm","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/221507","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46823","tags":["advisory"]},{"url":"https://github.com/python-ldap/python-ldap","tags":["package"]},{"url":"https://github.com/python-ldap/python-ldap/issues/424","tags":["web"]},{"url":"https://pypi.org/project/python-ldap","tags":["package"]},{"url":"https://github.com/advisories/GHSA-qfr5-wjpw-q4c4","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01974,"epssPercentile":0.80912,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-46823","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46823","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-46823","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qfr5-wjpw-q4c4","ok":true,"note":"GHSA-qfr5-wjpw-q4c4"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r8wq-qrxc-hmcm","ok":true,"note":"GHSA-r8wq-qrxc-hmcm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-46823","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}