CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 4.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2021-20277 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20277?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20277?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20277 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| samba:samba | from 4.0.0 before 4.12.13 |
| samba:samba | from 4.13.0 before 4.13.6 |
| samba:samba | from 4.14.0 before 4.14.1 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| fedoraproject:fedora | 32 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | ldb | 2:1.1.27-1+deb9u2 | DLA-2611-1 |
| Debian | 10 | ldb | 2:1.5.1+really1.4.6-3+deb10u1 | DSA-4884-1 |
| Debian | 12, 13, 14 | samba | 2:4.13.13+dfsg-1 | DEBIAN-CVE-2021-20277 |
| Ubuntu | 16.04:LTS | ldb | 2:1.1.24-1ubuntu3.2 | UBUNTU-CVE-2021-20277 USN-4888-1 |
| Ubuntu | 18.04:LTS | ldb | 2:1.2.3-1ubuntu0.2 | UBUNTU-CVE-2021-20277 USN-4888-1 |
| Ubuntu | 20.04:LTS | ldb | 2:2.0.10-0ubuntu0.20.04.3 | UBUNTU-CVE-2021-20277 USN-4888-1 |
| Ubuntu | Pro:14.04:LTS | ldb | 1:1.1.24-0ubuntu0.14.04.2+esm1 | UBUNTU-CVE-2021-20277 USN-4888-2 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | pyldb, libldb, ldb-tools and 3 more | 0:1.5.4-2.el7_9 | RHSA-2021:1072 |
| Red Hat | enterprise_linux:7::computenode | ldb-tools, pyldb-devel, libldb-devel and 1 more | 0:1.5.4-2.el7_9 | RHSA-2021:1072 |
| Red Hat | enterprise_linux:8::baseos | libldb, ldb-tools, python3-ldb and 5 more | 0:2.1.3-3.el8_3 | RHSA-2021:1197 |
| Red Hat | rhel_aus:7.6::server, rhel_e4s:7.6::server, rhel_tus:7.6::server | pyldb, libldb, ldb-tools and 3 more | 0:1.3.4-2.el7_6 | RHSA-2021:2786 |
| Red Hat | rhel_eus:7.7::computenode, rhel_eus:7.7::server | pyldb, libldb, ldb-tools and 3 more | 0:1.4.2-2.el7_7 | RHSA-2021:2331 |
| Red Hat | rhel_eus:8.1::baseos | libldb, ldb-tools, python3-ldb and 5 more | 0:1.5.4-3.el8_1 | RHSA-2021:1214 |
| Red Hat | rhel_eus:8.2::baseos | libldb, ldb-tools, python3-ldb and 5 more | 0:2.0.7-4.el8_2 | RHSA-2021:1213 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 7 more | samba | 4.9.5+git.432.d9b18c4f390-3.50.1 | SUSE-SU-2021:1498-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 more | ldb | 1.4.6-3.8.1 | SUSE-SU-2021:0944-1 |
| SUSE | Enterprise Storage 7 | ldb | 2.2.1-4.3.1 | SUSE-SU-2021:1440-1 |
| SUSE | Enterprise Storage 7 | samba | 4.13.6+git.211.555d60b24ba-3.9.1 | SUSE-SU-2021:1440-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Python 2 15 SP2 | samba | 4.11.14+git.247.8c858f7ee14-4.19.1 | SUSE-SU-2021:1444-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Python 2 15 SP3 | samba | 4.13.6+git.211.555d60b24ba-3.7.1 | SUSE-SU-2021:3187-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Python 2 15 SP3 | samba | 4.15.4+git.324.8332acf1a63-150300.3.25.3 | SUSE-SU-2022:0283-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | ldb | 2.4.1-150300.3.10.1 | SUSE-SU-2022:0283-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | libapparmor | 2.13.6-150300.3.11.1 | SUSE-SU-2022:0283-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | sssd | 1.16.1-150300.23.17.3 | SUSE-SU-2022:0283-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | talloc | 2.3.3-150300.3.3.2 | SUSE-SU-2022:0283-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | tdb | 1.4.4-150300.3.3.2 | SUSE-SU-2022:0283-1 |
| 6 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.2 | ldb | 2.0.12-lp152.2.9.1 | openSUSE-SU-2021:0469-1 |
| openSUSE | Leap 15.2 | samba | 4.11.14+git.247.8c858f7ee14-lp152.3.19.1 | openSUSE-SU-2021:0636-1 |
| openSUSE | Leap 15.3 | apparmor | 2.13.6-150300.3.11.2 | openSUSE-SU-2022:0283-1 |
| openSUSE | Leap 15.3 | krb5, krb5-mini | 1.19.2-150300.8.3.2 | openSUSE-SU-2022:0283-1 |
| openSUSE | Leap 15.3 | ldb | 2.4.1-150300.3.10.1 | openSUSE-SU-2022:0283-1 |
| openSUSE | Leap 15.3 | libapparmor | 2.13.6-150300.3.11.1 | openSUSE-SU-2022:0283-1 |
| openSUSE | Leap 15.3 | samba | 4.13.6+git.211.555d60b24ba-3.7.1 | openSUSE-SU-2021:3187-1 |
| openSUSE | Leap 15.3 | samba | 4.15.4+git.324.8332acf1a63-150300.3.25.3 | openSUSE-SU-2022:0283-1 |
| openSUSE | Leap 15.3 | sssd | 1.16.1-150300.23.17.3 | openSUSE-SU-2022:0283-1 |
| openSUSE | Leap 15.3 | talloc | 2.3.3-150300.3.3.2 | openSUSE-SU-2022:0283-1 |
| openSUSE | Leap 15.3 | talloc-man | 2.3.3-150300.3.3.1 | openSUSE-SU-2022:0283-1 |
| openSUSE | Leap 15.3 | tdb | 1.4.4-150300.3.3.2 | openSUSE-SU-2022:0283-1 |
| 4 more for openSUSE in the JSON and on openSUSE's page. | ||||
| Alpine | v3.12 | samba | 4.12.14-r0 | ALPINE-CVE-2021-20277 |
| Alpine | v3.13 | samba | 4.13.7-r0 | ALPINE-CVE-2021-20277 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | samba | 4.14.2-r0 | ALPINE-CVE-2021-20277 |
| Azure Linux | 2 | samba | no fix listed | AZL-7353 |
| Azure Linux | 3 | libldb | 2.7.2-1 | AZL-44535 |
| Azure Linux | 3 | samba | 4.18.3-1 | AZL-37000 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
The version of Samba shipped with Red Hat Gluster Storage (RHGS) 3 is built with a private copy of ldb (LDAP-like embedded database) library which includes the vulnerable code. However, Samba shipped with RHGS 3 is not supported for use as an Active Directory Domain Controller and hence the impact has been lowered.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libldb-0:1.5.4-2.el7_9 | Fixed 2021-04-06 | RHSA-2021:1072 |
| Red Hat Enterprise Linux 7.6 Advanced Update Support | libldb-0:1.3.4-2.el7_6 | Fixed 2021-07-20 | RHSA-2021:2786 |
| Red Hat Enterprise Linux 7.6 Telco Extended Update Support | libldb-0:1.3.4-2.el7_6 | Fixed 2021-07-20 | RHSA-2021:2786 |
| Red Hat Enterprise Linux 7.6 Update Services for SAP Solutions | libldb-0:1.3.4-2.el7_6 | Fixed 2021-07-20 | RHSA-2021:2786 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | libldb-0:1.4.2-2.el7_7 | Fixed 2021-06-08 | RHSA-2021:2331 |
| Red Hat Enterprise Linux 8 | libldb-0:2.1.3-3.el8_3 | Fixed 2021-04-14 | RHSA-2021:1197 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | libldb-0:1.5.4-3.el8_1 | Fixed 2021-04-15 | RHSA-2021:1214 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | libldb-0:2.0.7-4.el8_2 | Fixed 2021-04-15 | RHSA-2021:1213 |
| Red Hat Enterprise Linux 6 | libldb | Out of support scope | |
| Red Hat Enterprise Linux 9 | libldb | Not affected | |
| Red Hat Storage 3 | samba | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20277.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.