OESA-2022-1792

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1792
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1792.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1792
Upstream
Published
2022-07-30T11:04:03Z
Modified
2025-08-12T05:10:59.974100Z
Summary
python-ldap security update
Details

python-ldap provides an object-oriented API for working with LDAP within Python programs. It allows access to LDAP directory servers by wrapping the OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks (including processing LDIF, LDAPURLs, LDAPv3 schema, etc.).

Security Fix(es):

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.(CVE-2021-46823)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / python-ldap

Package

Name
python-ldap
Purl
pkg:rpm/openEuler/python-ldap&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0-4.oe1

Ecosystem specific

{
    "x86_64": [
        "python3-ldap-3.1.0-4.oe1.x86_64.rpm"
    ],
    "src": [
        "python-ldap-3.1.0-4.oe1.src.rpm"
    ],
    "aarch64": [
        "python3-ldap-3.1.0-4.oe1.aarch64.rpm"
    ],
    "noarch": [
        "python-ldap-help-3.1.0-4.oe1.noarch.rpm"
    ]
}

openEuler:22.03-LTS / python-ldap

Package

Name
python-ldap
Purl
pkg:rpm/openEuler/python-ldap&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.1-4.oe2203

Ecosystem specific

{
    "x86_64": [
        "python3-ldap-3.3.1-4.oe2203.x86_64.rpm",
        "python-ldap-debuginfo-3.3.1-4.oe2203.x86_64.rpm",
        "python-ldap-debugsource-3.3.1-4.oe2203.x86_64.rpm"
    ],
    "src": [
        "python-ldap-3.3.1-4.oe2203.src.rpm"
    ],
    "aarch64": [
        "python-ldap-debuginfo-3.3.1-4.oe2203.aarch64.rpm",
        "python-ldap-debugsource-3.3.1-4.oe2203.aarch64.rpm",
        "python3-ldap-3.3.1-4.oe2203.aarch64.rpm"
    ],
    "noarch": [
        "python-ldap-help-3.3.1-4.oe2203.noarch.rpm"
    ]
}