Skip to content
OpenAdvisories
Unscored CVE-2021-43566 EUVD-2021-30489GHSA-rcx2-p86p-53w9

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…

Published Jan 11, 2022 · Updated Aug 4, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:4.16.0+dfsg-2 —
Debian 13 samba 2:4.16.0+dfsg-2 —
Debian 12 samba 2:4.16.0+dfsg-2 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS samba 2:4.13.17~dfsg-0ubuntu0.21.04.1 USN-5260-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS samba No fix yet —
Ubuntu Pro 16.04 LTS samba No fix yet —
Ubuntu Pro 14.04 LTS samba No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 ctdb +24 4.14.5-2.el8 RHBA-2021:4438
ReleasePackageFixed inAdvisory
SLES 15 SP3 apparmor 2.13.6-150300.3.11.2 SUSE-SU-2022:0283-1
SLES 15 SP3 krb5 1.19.2-150300.8.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 ldb 2.4.1-150300.3.10.1 SUSE-SU-2022:0283-1
SLES 15 SP3 libapparmor 2.13.6-150300.3.11.1 SUSE-SU-2022:0283-1
SLES 15 SP3 samba 4.15.4+git.324.8332acf1a63-150300.3.25.3 SUSE-SU-2022:0283-1
SLES 15 SP3 sssd 1.16.1-150300.23.17.3 SUSE-SU-2022:0283-1
SLES 15 SP3 talloc 2.3.3-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 talloc-man 2.3.3-150300.3.3.1 SUSE-SU-2022:0283-1
SLES 15 SP3 tdb 1.4.4-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 tevent 0.11.0-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 tevent-man 0.11.0-150300.3.3.1 SUSE-SU-2022:0283-1
SLES 12 SP5 apparmor 2.8.2-56.6.3 SUSE-SU-2022:0323-1
SLES 12 SP5 ca-certificates 1_201403302107-15.3.3 SUSE-SU-2022:0323-1
SLES 12 SP5 gnutls 3.4.17-8.4.1 SUSE-SU-2022:0323-1
SLES 12 SP5 libnettle 3.1-21.3.2 SUSE-SU-2022:0323-1
SLES 12 SP5 p11-kit 0.23.2-8.3.2 SUSE-SU-2022:0323-1
SLES 12 SP5 samba 4.15.4+git.324.8332acf1a63-3.54.1 SUSE-SU-2022:0323-1
SLES 12 SP5 sssd 1.16.1-7.28.9 SUSE-SU-2022:0323-1
SLES 12 SP5 yast2-samba-client 3.1.23-3.3.1 SUSE-SU-2022:0323-1
SLES 2 samba 4.15.4+git.324.8332acf1a63-150300.3.25.3 SUSE-SU-2022:0283-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 apparmor 2.8.2-56.6.3 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 ca-certificates 1_201403302107-15.3.3 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 gnutls 3.4.17-8.4.1 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 libnettle 3.1-21.3.2 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 p11-kit 0.23.2-8.3.2 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 samba 4.15.4+git.324.8332acf1a63-3.54.1 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 sssd 1.16.1-7.28.9 SUSE-SU-2022:0323-1
SLES for SAP 12 SP5 yast2-samba-client 3.1.23-3.3.1 SUSE-SU-2022:0323-1
SLE Micro 5.1 apparmor 2.13.6-150300.3.11.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 krb5 1.19.2-150300.8.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 ldb 2.4.1-150300.3.10.1 SUSE-SU-2022:0283-1
SLE Micro 5.1 libapparmor 2.13.6-150300.3.11.1 SUSE-SU-2022:0283-1
SLE Micro 5.1 sssd 1.16.1-150300.23.17.3 SUSE-SU-2022:0283-1
SLE Micro 5.1 talloc 2.3.3-150300.3.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 tdb 1.4.4-150300.3.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 tevent 0.11.0-150300.3.3.2 SUSE-SU-2022:0283-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 apparmor 2.13.6-150300.3.11.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 krb5 +1 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.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
openSUSE Leap 15.3 tevent 0.11.0-150300.3.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 tevent-man 0.11.0-150300.3.3.1 openSUSE-SU-2022:0283-1
ReleasePackageFixed inAdvisory
Alpine v3.13 samba 4.13.17-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 samba +29 2:4.17.5-0.amzn2023.0.2 ALAS2023-2023-032
Amazon Linux 2 ctdb +26 4.10.16-24.amzn2.0.5 ALAS2-2025-2979

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 samba 4.18.3-1 —
Azure Linux 2 (CBL-Mariner) samba No fix yet —

Advisories 11

References