ldap3@0.9.8.7.post1 vulnerabilities

A strictly RFC 4510 conforming LDAP V3 pure Python client library

  • latest version

    2.10.2rc2

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    9 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ldap3 package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Authentication Bypass

    ldap3 is a strictly RFC 4510 conforming LDAP V3 pure Python client library.

    Affected versions of this package are vulnerable to Authentication Bypass via the rebind() method of the Connection object. It is performing the following comparison to validate input data:

    if password:
        self.password = password
    

    That condition is false in case of password = '', so the old value of the object will be keep in that case, including case where the bind was correct.

    This is a potential security hole, since a correct bind followed by a rebind with empty password will complete the binding correctly.

    [,2.4)