Description
A flaw was found in the way Samba handled file/directory metadata. This flaw allows an authenticated attacker with permissions to read or modify share metadata, to perform this operation outside of the share.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | samba | Affects samba file server before v4.15.0, Fixed in samba v4.15.0 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | samba | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | samba | No fix yet | — |
| 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | ctdb +24 | 4.15.5-5.el8 | RHSA-2022:2074 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Gluster Storage 3 | ctdb +20 | 4.15.5-100.el8rhgs | RHSA-2022:1756 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | ctdb +24 | 4.15.5-5.el8 | ALSA-2022:2074 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | samba | 4.15.5-5.el8 | RLSA-2022:2074 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | samba +29 | 2:4.17.5-0.amzn2023.0.2 | ALAS2023-2023-032 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | samba | 4.18.3-1 | — |
| Azure Linux 2 (CBL-Mariner) | samba | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | ctdb +24 | 4.15.5-5.el8 | ELSA-2022-2074 |
Advisories 10
- ALSA-2022:2074 Moderate: samba security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:2074 Red Hat Security Advisory: samba security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RLSA-2022:2074 Moderate: samba security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2022:0283-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0283-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0323-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2022:1756 Red Hat Security Advisory: samba security, bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- ALAS2023-2023-032 Important: samba security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 15, 2024
- WID-SEC-2022-0465 Samba: Schwachstelle ermöglicht Manipulation von Dateien BSI CERT-Bund (WID) · Nov 21, 2023
- ELSA-2022-2074 Moderate: samba security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 17, 2022
References
- https://bugzilla.samba.org/show_bug.cgi?id=14842
- https://www.samba.org/samba/security/CVE-2021-20316.html
- https://bugzilla.redhat.com/show_bug.cgi?id=2009673
- https://access.redhat.com/security/cve/CVE-2021-20316
- https://security-tracker.debian.org/tracker/CVE-2021-20316
- GLSA-202309-06 vendor-advisory