CVE-2017-12163
An information leak flaw was found in the way SMB1 protocol was implemented by Samba before 4.4.16, 4.5.x before 4.5.14, and 4.6.x before 4.6.8. A malicious client could use this flaw to dump server memory contents to a file on the samba share or to a shared printer, though the exact area of server memory cannot be controlled by the attacker.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
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 16.04 | samba | Fixed | 2:4.3.11+dfsg-0ubuntu0.16.04.11 | UBUNTU-CVE-2017-12163 |
| Ubuntu 14.04 | samba | Fixed | 2:4.3.11+dfsg-0ubuntu0.14.04.12 | UBUNTU-CVE-2017-12163 |
| Debian 14 | samba | Fixed | 2:4.6.7+dfsg-2 | DEBIAN-CVE-2017-12163 |
| Debian 13 | samba | Fixed | 2:4.6.7+dfsg-2 | DEBIAN-CVE-2017-12163 |
| Debian 12 | samba | Fixed | 2:4.6.7+dfsg-2 | DEBIAN-CVE-2017-12163 |
| Red Hat Enterprise Linux 7 | ctdb | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | ctdb-tests | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | libsmbclient | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | libsmbclient-devel | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | libwbclient | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | libwbclient-devel | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-client | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-client-libs | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-common | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-common-libs | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-common-tools | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-dc | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-dc-libs | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-devel | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-krb5-printing | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-libs | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-pidl | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-python | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-test | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-test-libs | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-vfs-glusterfs | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-winbind | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-winbind-clients | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-winbind-krb5-locator | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 7 | samba-winbind-modules | Fixed | 0:4.6.2-11.el7_4 | RHSA-2017:2790 |
| Red Hat Enterprise Linux 6 | libsmbclient | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | libsmbclient-devel | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-client | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-common | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-doc | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-domainjoin-gui | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-glusterfs | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-swat | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-winbind | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-winbind-clients | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-winbind-devel | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba-winbind-krb5-locator | Fixed | 0:3.6.23-45.el6_9 | RHSA-2017:2789 |
| Red Hat Enterprise Linux 6 | samba4 | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-client | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-common | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-dc | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-dc-libs | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-devel | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-libs | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-pidl | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-python | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-test | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-winbind | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-winbind-clients | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 6 | samba4-winbind-krb5-locator | Fixed | 0:4.2.10-11.el6_9 | RHSA-2017:2791 |
| Red Hat Enterprise Linux 5 | samba | Will not fix Will not fix | ||
| Alpine Linux 3.24 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.23 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.22 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.21 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.20 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.19 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.18 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.17 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.16 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.15 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.14 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.13 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.12 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.11 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.10 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.9 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.8 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.7 | samba | Fixed | 4.7.0-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.6 | samba | Fixed | 4.6.8-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.5 | samba | Fixed | 4.5.14-r0 | ALPINE-CVE-2017-12163 |
| Alpine Linux 3.4 | samba | Fixed | 4.4.16-r0 | ALPINE-CVE-2017-12163 |
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: 4.7, 4.6.8, 4.5.14, 4.4.16
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:2790 (vendor-advisory)
- https://www.debian.org/security/2017/dsa-3983 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2858 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2789 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2791 (vendor-advisory)
References
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03775en_us
- https://security.netapp.com/advisory/ntap-20170921-0001/
- https://access.redhat.com/errata/RHSA-2017:2790
- http://www.securityfocus.com/bid/100925
- https://www.samba.org/samba/security/CVE-2017-12163.html
- https://www.synology.com/support/security/Synology_SA_17_57_Samba
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03817en_us
- https://www.debian.org/security/2017/dsa-3983
- https://access.redhat.com/errata/RHSA-2017:2858
- http://www.securitytracker.com/id/1039401
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12163
- https://access.redhat.com/errata/RHSA-2017:2789
- https://access.redhat.com/errata/RHSA-2017:2791
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.