CVEfocus › CVE database › CVE-2021-43566

CVE-2021-43566

CVSS 2.5 LowEPSS 0.4% (higher than 26% of CVEs)Published 2022-01-11Updated 2024-08-04Assigner: mitre

All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be enabled, or the share also available via NFS in order for this attack to succeed.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

30Fixed
3Fix pending
56Will not fix
39Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04sambaFixed2:4.13.17~dfsg-0ubuntu0.21.04.1UBUNTU-CVE-2021-43566
Ubuntu 18.04sambaFix pendingUBUNTU-CVE-2021-43566
Ubuntu 16.04sambaFix pendingUBUNTU-CVE-2021-43566
Ubuntu 14.04sambaFix pendingUBUNTU-CVE-2021-43566
Debian 14sambaFixed2:4.16.0+dfsg-2DEBIAN-CVE-2021-43566
Debian 13sambaFixed2:4.16.0+dfsg-2DEBIAN-CVE-2021-43566
Debian 12sambaFixed2:4.16.0+dfsg-2DEBIAN-CVE-2021-43566
Red Hat Enterprise Linux 9ctdbNot affected
Red Hat Enterprise Linux 9ldb-toolsNot affected
Red Hat Enterprise Linux 9libldbNot affected
Red Hat Enterprise Linux 9libldb-develNot affected
Red Hat Enterprise Linux 9libnetapiNot affected
Red Hat Enterprise Linux 9libnetapi-develNot affected
Red Hat Enterprise Linux 9libsmbclientNot affected
Red Hat Enterprise Linux 9libsmbclient-develNot affected
Red Hat Enterprise Linux 9libwbclientNot affected
Red Hat Enterprise Linux 9libwbclient-develNot affected
Red Hat Enterprise Linux 9python3-ldbNot affected
Red Hat Enterprise Linux 9python3-sambaNot affected
Red Hat Enterprise Linux 9python3-samba-dcNot affected
Red Hat Enterprise Linux 9python3-samba-develNot affected
Red Hat Enterprise Linux 9python3-samba-testNot affected
Red Hat Enterprise Linux 9sambaNot affected
Red Hat Enterprise Linux 9samba-clientNot affected
Red Hat Enterprise Linux 9samba-client-libsNot affected
Red Hat Enterprise Linux 9samba-commonNot affected
Red Hat Enterprise Linux 9samba-common-libsNot affected
Red Hat Enterprise Linux 9samba-common-toolsNot affected
Red Hat Enterprise Linux 9samba-dc-libsNot affected
Red Hat Enterprise Linux 9samba-dcerpcNot affected
Red Hat Enterprise Linux 9samba-develNot affected
Red Hat Enterprise Linux 9samba-gpupdateNot affected
Red Hat Enterprise Linux 9samba-krb5-printingNot affected
Red Hat Enterprise Linux 9samba-ldb-ldap-modulesNot affected
Red Hat Enterprise Linux 9samba-libsNot affected
Red Hat Enterprise Linux 9samba-pidlNot affected
Red Hat Enterprise Linux 9samba-testNot affected
Red Hat Enterprise Linux 9samba-test-libsNot affected
Red Hat Enterprise Linux 9samba-toolsNot affected
Red Hat Enterprise Linux 9samba-usersharesNot affected
Red Hat Enterprise Linux 9samba-vfs-iouringNot affected
Red Hat Enterprise Linux 9samba-winbindNot affected
Red Hat Enterprise Linux 9samba-winbind-clientsNot affected
Red Hat Enterprise Linux 9samba-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 9samba-winbind-modulesNot affected
Red Hat Enterprise Linux 9samba-winexeNot affected
Red Hat Enterprise Linux 8ctdbFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8libsmbclientFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8libsmbclient-develFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8libwbclientFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8libwbclient-develFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8python3-sambaFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8python3-samba-testFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8sambaFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-clientFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-client-libsFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-commonFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-common-libsFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-common-toolsFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-develFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-krb5-printingFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-libsFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-pidlFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-testFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-test-libsFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-vfs-iouringFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-winbindFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-winbind-clientsFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-winbind-krb5-locatorFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-winbind-modulesFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 8samba-winexeFixed0:4.14.5-2.el8RHBA-2021:4438
Red Hat Enterprise Linux 7ctdbWill not fix
Out of support scope
Red Hat Enterprise Linux 7ctdb-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ctdb-testsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libsmbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 7libsmbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7sambaWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-client-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-common-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-common-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-dcWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-dc-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-krb5-printingWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-pidlWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-python-testWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-testWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-test-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-test-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-vfs-glusterfsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-krb5-locatorWill not fix
Out of support scope
Red Hat Enterprise Linux 7samba-winbind-modulesWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsmbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsmbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6sambaWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-domainjoin-guiWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-glusterfsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-swatWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-krb5-locatorWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4Will not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-dcWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-dc-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-pidlWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-swatWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-testWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4-winbind-krb5-locatorWill not fix
Out of support scope
Alpine Linux 3.13sambaFixed4.13.17-r0ALPINE-CVE-2021-43566

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.