CVE catalog

CVE-2021-46823

python-ldap: CVE-2021-46823

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.94% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-ldapsid3.4.8-1fixed
Debianpython-ldapforky3.4.8-1fixed
Debianpython-ldaptrixie3.4.4-1+deb13u1fixed
Debianpython-ldapbookworm3.4.3-2+deb12u1fixed
Ubuntupython-ldap18.042.4.41-1vulnerable
Ubuntupython-ldap18.042.5.2-1vulnerable
Ubuntupython-ldap18.043.0.0~b4-1vulnerable
Ubuntupython-ldap18.043.0.0-1vulnerable
Ubuntupython-ldap18.043.0.0-1ubuntu0.1vulnerable
Ubuntupython-ldap18.043.0.0-1ubuntu0.2fixed
Ubuntupython-ldap20.043.1.0-2build1vulnerable
Ubuntupython-ldap20.043.1.0-2build2vulnerable
Ubuntupython-ldap20.043.2.0-3vulnerable
Ubuntupython-ldap20.043.2.0-3ubuntu1vulnerable
Ubuntupython-ldap20.043.2.0-3ubuntu2vulnerable
Ubuntupython-ldap20.043.2.0-3ubuntu3vulnerable
Ubuntupython-ldap20.043.2.0-4ubuntu2vulnerable
Ubuntupython-ldap20.043.2.0-4ubuntu2.1fixed
Ubuntupython-ldap22.043.2.0-4ubuntu5vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu6vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu7vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu7.1fixed
Ubuntupython-ldap18.042.4.41-1vulnerable
Ubuntupython-ldap18.042.5.2-1vulnerable
Ubuntupython-ldap18.043.0.0~b4-1vulnerable
Ubuntupython-ldap18.043.0.0-1vulnerable
Ubuntupython-ldap18.043.0.0-1ubuntu0.1vulnerable
Ubuntupython-ldap18.043.0.0-1ubuntu0.2fixed
Ubuntupython-ldap20.043.1.0-2build1vulnerable
Ubuntupython-ldap20.043.1.0-2build2vulnerable
Ubuntupython-ldap20.043.2.0-3vulnerable
Ubuntupython-ldap20.043.2.0-3ubuntu1vulnerable
Ubuntupython-ldap20.043.2.0-3ubuntu2vulnerable
Ubuntupython-ldap20.043.2.0-3ubuntu3vulnerable
Ubuntupython-ldap20.043.2.0-4ubuntu2vulnerable
Ubuntupython-ldap20.043.2.0-4ubuntu2.1fixed
Ubuntupython-ldap22.043.2.0-4ubuntu5vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu6vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu7vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu7.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-ldapsourcesid3.4.0-1not yet assignedNot reportedNot reported
Debianpython-ldapsourceforky3.4.0-1not yet assignedNot reportedNot reported
Debianpython-ldapsourcetrixie3.4.0-1not yet assignedNot reportedNot reported
Debianpython-ldapsourcebookworm3.4.0-1not yet assignedNot reportedNot reported
Ubuntupython-ldapdeb18.043.0.0-1ubuntu0.2Not reportedUSN-5508-1Not reported
Ubuntupython-ldapdeb20.043.2.0-4ubuntu2.1Not reportedUSN-5508-1Not reported
Ubuntupython-ldapdeb22.043.2.0-4ubuntu7.1Not reportedUSN-5508-1Not reported
Ubuntupython-ldapdeb18.043.0.0-1ubuntu0.2Not reportedUBUNTU-CVE-2021-46823Not reported
Ubuntupython-ldapdeb20.043.2.0-4ubuntu2.1Not reportedUBUNTU-CVE-2021-46823Not reported
Ubuntupython-ldapdeb22.043.2.0-4ubuntu7.1Not reportedUBUNTU-CVE-2021-46823Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-ldap]

    Details (2)
    • 3.4.3-2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · bookworm; dsa · python-ldap · debian · 12

    • 3.4.3-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · bookworm; dsa · python-ldap · debian · 12

  • Source package: [python-ldap]

    Details (2)
    • 3.4.3-2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · bookworm; dsa · python-ldap · debian · 12

    • 3.4.3-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · bookworm; dsa · python-ldap · debian · 12

  • Source package: [python-ldap]

    Details (2)
    • 3.4.3-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · bookworm; dsa · python-ldap · debian · 12

    • 3.4.3-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · bookworm; dsa · python-ldap · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-ldap]

    Details (2)
    • 3.4.4-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · 13

    • 3.4.4-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · 13

  • Source package: [python-ldap]

    Details (2)
    • 3.4.4-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · 13

    • 3.4.4-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · 13

  • Source package: [python-ldap]

    Details (2)
    • 3.4.4-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · 13

    • 3.4.4-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.4.0-1

      dsa · python-ldap · debian · 13

Observed:

References