UBUNTU-CVE-2021-46823

Source
https://ubuntu.com/security/CVE-2021-46823
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46823.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-46823
Related
Published
2022-06-18T16:15:00Z
Modified
2025-01-13T10:22:39Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:18.04:LTS / python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@3.0.0-1ubuntu0.2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0-1ubuntu0.2

Affected versions

2.*

2.4.41-1
2.5.2-1

3.*

3.0.0~b4-1
3.0.0-1
3.0.0-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.0.0-1ubuntu0.2",
            "binary_name": "python-ldap"
        },
        {
            "binary_version": "3.0.0-1ubuntu0.2",
            "binary_name": "python-ldap-dbg"
        },
        {
            "binary_version": "3.0.0-1ubuntu0.2",
            "binary_name": "python-pyldap"
        },
        {
            "binary_version": "3.0.0-1ubuntu0.2",
            "binary_name": "python3-ldap"
        },
        {
            "binary_version": "3.0.0-1ubuntu0.2",
            "binary_name": "python3-ldap-dbg"
        },
        {
            "binary_version": "3.0.0-1ubuntu0.2",
            "binary_name": "python3-pyldap"
        }
    ]
}

Ubuntu:20.04:LTS / python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@3.2.0-4ubuntu2.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.0-4ubuntu2.1

Affected versions

3.*

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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.2.0-4ubuntu2.1",
            "binary_name": "python3-ldap"
        },
        {
            "binary_version": "3.2.0-4ubuntu2.1",
            "binary_name": "python3-ldap-dbg"
        },
        {
            "binary_version": "3.2.0-4ubuntu2.1",
            "binary_name": "python3-pyldap"
        }
    ]
}

Ubuntu:22.04:LTS / python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@3.2.0-4ubuntu7.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.0-4ubuntu7.1

Affected versions

3.*

3.2.0-4ubuntu5
3.2.0-4ubuntu6
3.2.0-4ubuntu7

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.2.0-4ubuntu7.1",
            "binary_name": "python3-ldap"
        },
        {
            "binary_version": "3.2.0-4ubuntu7.1",
            "binary_name": "python3-ldap-dbg"
        },
        {
            "binary_version": "3.2.0-4ubuntu7.1",
            "binary_name": "python3-pyldap"
        }
    ]
}