ubuntu-cve-2021-46823
Vulnerability from osv_ubuntu
Published
2022-06-18 16:15
Modified
2025-09-08 16:47
Summary
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.
Severity
6.5 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-ldap",
"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-pyldap",
"binary_version": "3.0.0-1ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "python-ldap",
"purl": "pkg:deb/ubuntu/python-ldap@3.0.0-1ubuntu0.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.0-1ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.41-1",
"2.5.2-1",
"3.0.0~b4-1",
"3.0.0-1",
"3.0.0-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-ldap",
"binary_version": "3.2.0-4ubuntu2.1"
},
{
"binary_name": "python3-pyldap",
"binary_version": "3.2.0-4ubuntu2.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python-ldap",
"purl": "pkg:deb/ubuntu/python-ldap@3.2.0-4ubuntu2.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.0-4ubuntu2.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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",
"binaries": [
{
"binary_name": "python3-ldap",
"binary_version": "3.2.0-4ubuntu7.1"
},
{
"binary_name": "python3-pyldap",
"binary_version": "3.2.0-4ubuntu7.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python-ldap",
"purl": "pkg:deb/ubuntu/python-ldap@3.2.0-4ubuntu7.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.0-4ubuntu7.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.2.0-4ubuntu5",
"3.2.0-4ubuntu6",
"3.2.0-4ubuntu7"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2021-46823",
"modified": "2025-09-08T16:47:28Z",
"published": "2022-06-18T16:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-46823"
},
{
"type": "REPORT",
"url": "https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r8wq-qrxc-hmcm"
},
{
"type": "REPORT",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/221507"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5508-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-46823"
}
],
"related": [
"USN-5508-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-46823"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…