Description
The owner_set function in smbcacls.c in smbcacls in Samba 4.0.x before 4.0.16 and 4.1.x before 4.1.6 removes an ACL during use of a --chown or --chgrp option, which allows remote attackers to bypass intended access restrictions in opportunistic circumstances by leveraging an unintended administrative change.
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.1.6+dfsg-1 | — |
| Debian 13 | samba | 2:4.1.6+dfsg-1 | — |
| Debian 12 | samba | 2:4.1.6+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | samba | 2:4.1.3+dfsg-2ubuntu4 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | samba4 +13 | 4.0.0-61.el6_5.rc4 | RHSA-2014:0383 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | samba | 4.5.0-1.1 | openSUSE-SU-2024:10069-1 |
Advisories 2
- RHSA-2014:0383 Red Hat Security Advisory: samba4 security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- openSUSE-SU-2024:10069-1 ctdb-4.5.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://www.samba.org/samba/history/samba-4.1.6.html
- FEDORA-2014-9132 vendor-advisory
- http://www.samba.org/samba/security/CVE-2013-6442
- http://www.samba.org/samba/history/samba-4.0.16.html
- FEDORA-2014-7672 vendor-advisory
- openSUSE-SU-2014:0404 vendor-advisory
- https://bugzilla.samba.org/show_bug.cgi?id=10327
- 66232 vdb-entry