# CVE-2021-20277: python3-ldb: The libldb packages provide an extensible library that implements an LDAP-like API to access remote LDAP servers, or...

CVE-2021-20277 is fixed in 7 products on 1 platform, first by ldb-tools 2:1.2.3-1ubuntu0.2, released March 23, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-20277
- Priority: High
- CVSS: 7.5 (Important)
- EPSS: 0.0436
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 23, 2021

## Description

The libldb packages provide an extensible library that implements an LDAP-like API to access remote LDAP servers, or use local TDB databases.  Security Fix(es):  * samba: Out of bounds read in AD DC LDAP server (CVE-2021-20277)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ldb-tools RHEL 8 | 0:2.1.3-3.el8_3 | [RHSA-2021:1197](https://patchblox.com/security/data/fix/linux/rhsa-2021-1197.md) | Apr 14, 2021 |
| Linux | ldb-tools Ubuntu 18.04.6 LTS (bionic) | 2:1.2.3-1ubuntu0.2 | [ldb-tools 2:1.2.3-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ldb-tools-2-1.2.3-1ubuntu0.2.md) | Mar 23, 2021 |
| Linux | ldb-tools Ubuntu 20.04 LTS (focal) | 2:2.0.10-0ubuntu0.20.04.3 | [ldb-tools 2:2.0.10-0ubuntu0.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ldb-tools-2-2.0.10-0ubuntu0.20.04.3.md) | Mar 23, 2021 |
| Linux | ldb-tools ol 8 | 0:2.1.3-3.el8_3 | [ELSA-2021-1197](https://patchblox.com/security/data/fix/linux/elsa-2021-1197.md) | Apr 14, 2021 |
| Linux | libldb RHEL 8 | 0:2.1.3-3.el8_3 | [RHSA-2021:1197](https://patchblox.com/security/data/fix/linux/rhsa-2021-1197.md) | Apr 14, 2021 |
| Linux | libldb ol 8 | 0:2.1.3-3.el8_3 | [ELSA-2021-1197](https://patchblox.com/security/data/fix/linux/elsa-2021-1197.md) | Apr 14, 2021 |
| Linux | libldb-devel RHEL 8 | 0:2.1.3-3.el8_3 | [RHSA-2021:1197](https://patchblox.com/security/data/fix/linux/rhsa-2021-1197.md) | Apr 14, 2021 |
| Linux | libldb-devel ol 8 | 0:2.1.3-3.el8_3 | [ELSA-2021-1197](https://patchblox.com/security/data/fix/linux/elsa-2021-1197.md) | Apr 14, 2021 |
| Linux | libldb1 Ubuntu 18.04.6 LTS (bionic) | 2:1.2.3-1ubuntu0.2 | [libldb1 2:1.2.3-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libldb1-2-1.2.3-1ubuntu0.2.md) | Mar 23, 2021 |
| Linux | libldb2 Ubuntu 20.04 LTS (focal) | 2:2.0.10-0ubuntu0.20.04.3 | [libldb2 2:2.0.10-0ubuntu0.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libldb2-2-2.0.10-0ubuntu0.20.04.3.md) | Mar 23, 2021 |
| Linux | python-ldb Ubuntu 18.04.6 LTS (bionic) | 2:1.2.3-1ubuntu0.2 | [python-ldb 2:1.2.3-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-ldb-2-1.2.3-1ubuntu0.2.md) | Mar 23, 2021 |
| Linux | python3-ldb RHEL 8 | 0:2.1.3-3.el8_3 | [RHSA-2021:1197](https://patchblox.com/security/data/fix/linux/rhsa-2021-1197.md) | Apr 14, 2021 |
| Linux | python3-ldb Ubuntu 20.04 LTS (focal) | 2:2.0.10-0ubuntu0.20.04.3 | [python3-ldb 2:2.0.10-0ubuntu0.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-ldb-2-2.0.10-0ubuntu0.20.04.3.md) | Mar 23, 2021 |
| Linux | python3-ldb ol 8 | 0:2.1.3-3.el8_3 | [ELSA-2021-1197](https://patchblox.com/security/data/fix/linux/elsa-2021-1197.md) | Apr 14, 2021 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
