CVE-2021-44141
All versions of Samba prior to 4.15.5 are vulnerable to a malicious client using a server symlink to determine if a file or directory exists in an area of the server file system not exported under the share definition. SMB1 with unix extensions has to be enabled in order for this attack to succeed.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | samba | Will not fix per upstream, fixing this required a whole rewrite of the VFS layer and there is no reasonable way to fix this in versions older than 4.15.x. Marking this CVE… | UBUNTU-CVE-2021-44141 | |
| Ubuntu 20.04 | samba | Fix pending | UBUNTU-CVE-2021-44141 | |
| Ubuntu 18.04 | samba | Fix pending | UBUNTU-CVE-2021-44141 | |
| Ubuntu 16.04 | samba | Fix pending | UBUNTU-CVE-2021-44141 | |
| Ubuntu 14.04 | samba | Fix pending | UBUNTU-CVE-2021-44141 | |
| Debian 14 | samba | Fixed | 2:4.16.0+dfsg-2 | DEBIAN-CVE-2021-44141 |
| Debian 13 | samba | Fixed | 2:4.16.0+dfsg-2 | DEBIAN-CVE-2021-44141 |
| Debian 12 | samba | Fixed | 2:4.16.0+dfsg-2 | DEBIAN-CVE-2021-44141 |
| Red Hat Enterprise Linux 9 | ctdb | Not affected | ||
| Red Hat Enterprise Linux 9 | ldb-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | libldb | Not affected | ||
| Red Hat Enterprise Linux 9 | libldb-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libnetapi | Not affected | ||
| Red Hat Enterprise Linux 9 | libnetapi-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 9 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libwbclient | Not affected | ||
| Red Hat Enterprise Linux 9 | libwbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-ldb | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-samba | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-samba-dc | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-samba-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-samba-test | Not affected | ||
| Red Hat Enterprise Linux 9 | samba | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-client-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-common-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-common-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-dcerpc | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-gpupdate | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-krb5-printing | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-ldb-ldap-modules | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-pidl | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-test | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-test-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-usershares | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-vfs-iouring | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winbind-modules | Not affected | ||
| Red Hat Enterprise Linux 9 | samba-winexe | Not affected | ||
| Red Hat Enterprise Linux 8 | ctdb | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | libsmbclient | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | libsmbclient-devel | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | libwbclient | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | libwbclient-devel | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | python3-samba | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | python3-samba-test | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-client | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-client-libs | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-common | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-common-libs | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-common-tools | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-devel | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-krb5-printing | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-libs | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-pidl | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-test | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-test-libs | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-vfs-iouring | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-winbind | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-winbind-clients | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-winbind-krb5-locator | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-winbind-modules | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 8 | samba-winexe | Fixed | 0:4.15.5-5.el8 | RHSA-2022:2074 |
| Red Hat Enterprise Linux 7 | ctdb | Not affected | ||
| Red Hat Enterprise Linux 7 | ctdb-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ctdb-tests | Not affected | ||
| Red Hat Enterprise Linux 7 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 7 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libwbclient | Not affected | ||
| Red Hat Enterprise Linux 7 | libwbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-client-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-dc | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-krb5-printing | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-pidl | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-python | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-python-test | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-vfs-glusterfs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-modules | Not affected | ||
| Red Hat Enterprise Linux 6 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 6 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-domainjoin-gui | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-glusterfs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-swat | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4 | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-client | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-common | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-dc | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-pidl | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-python | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-swat | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-test | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind-krb5-locator | Not affected | ||
| AlmaLinux 8 | ctdb | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | libsmbclient | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | libsmbclient-devel | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | libwbclient | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | libwbclient-devel | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | python3-samba | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | python3-samba-test | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-client | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-client-libs | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-common | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-common-libs | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-common-tools | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-devel | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-krb5-printing | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-libs | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-pidl | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-test | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-test-libs | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-vfs-iouring | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-winbind | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-winbind-clients | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-winbind-krb5-locator | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-winbind-modules | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| AlmaLinux 8 | samba-winexe | Fixed | 4.15.5-5.el8 | ALSA-2022:2074 |
| Rocky Linux 8 | samba | Fixed | 0:4.15.5-5.el8 | RLSA-2022:2074 |
| Alpine Linux 3.16 | samba | Fixed | 4.15.5-r0 | ALPINE-CVE-2021-44141 |
| Alpine Linux 3.15 | samba | Fixed | 4.15.5-r0 | ALPINE-CVE-2021-44141 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Samba: affected: All versions of Samba prior to 4.15.5
Vendor advisories:
- https://security.gentoo.org/glsa/202309-06 (vendor-advisory)
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.