Information disclosure in Samba
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Partial Red Hat: 19 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Samba | Samba | 4.7; 4.6.8; 4.5.14; 4.4.16 | — | No fix listed | CNA |
- Samba VendorSamba Affected 4.7; 4.6.8; 4.5.14; 4.4.16 Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | before 4.4.16; 4.5.0 to before 4.5.14; 4.6.0 to before 4.6.8 | Vulnerable | Samba |
| cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:gluster_storage:3.0:*:*:*:*:*:*:* | 3.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Running on | Red Hat |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions before 4.4.16; 4.5.0 to before 4.5.14; 4.6.0 to before 4.6.8 Vulnerable ·Samba
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:gluster_storage:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2017:2858 Released 2017-10-04 · Red Hat rating Moderatesamba security update
- Red Hat Gluster 3.3 Samba on RHEL-6 ctdb-4.6.3-6.el6rhs, ctdb-tests-4.6.3-6.el6rhs, libsmbclient-4.6.3-6.el6rhs +23
- Red Hat Gluster 3.3 Samba on RHEL-7 ctdb-4.6.3-6.el7rhgs, ctdb-tests-4.6.3-6.el7rhgs, libsmbclient-4.6.3-6.el7rhgs +23
- RHSA-2017:2789 Released 2017-09-21 · Red Hat rating Moderatesamba security update
- Red Hat Enterprise Linux Desktop (v. 6) libsmbclient-3.6.23-45.el6_9, samba-3.6.23-45.el6_9, samba-client-3.6.23-45.el6_9 +3
- Red Hat Enterprise Linux Desktop Optional (v. 6) libsmbclient-devel-3.6.23-45.el6_9, samba-3.6.23-45.el6_9, samba-doc-3.6.23-45.el6_9 +5
- Red Hat Enterprise Linux HPC Node (v. 6) samba-3.6.23-45.el6_9, samba-client-3.6.23-45.el6_9, samba-common-3.6.23-45.el6_9 +2
- Red Hat Enterprise Linux HPC Node Optional (v. 6) libsmbclient-3.6.23-45.el6_9, libsmbclient-devel-3.6.23-45.el6_9, samba-3.6.23-45.el6_9 +6
- Red Hat Enterprise Linux Server (v. 6) libsmbclient-3.6.23-45.el6_9, libsmbclient-3.6.23-45.el6_9.ppc, samba-3.6.23-45.el6_9 +6
- Red Hat Enterprise Linux Server Optional (v. 6) libsmbclient-devel-3.6.23-45.el6_9, libsmbclient-devel-3.6.23-45.el6_9.ppc, samba-doc-3.6.23-45.el6_9 +6
- Red Hat Enterprise Linux Workstation (v. 6) libsmbclient-3.6.23-45.el6_9, samba-3.6.23-45.el6_9, samba-client-3.6.23-45.el6_9 +3
- Red Hat Enterprise Linux Workstation Optional (v. 6) libsmbclient-devel-3.6.23-45.el6_9, samba-doc-3.6.23-45.el6_9, samba-domainjoin-gui-3.6.23-45.el6_9 +4
- RHSA-2017:2790 Released 2017-09-21 · Red Hat rating Moderatesamba security update
- Red Hat Enterprise Linux Client (v. 7) libsmbclient-4.6.2-11.el7_4, libwbclient-4.6.2-11.el7_4, samba-4.6.2-11.el7_4 +10
- Red Hat Enterprise Linux Client Optional (v. 7) libsmbclient-devel-4.6.2-11.el7_4, libwbclient-devel-4.6.2-11.el7_4, samba-4.6.2-11.el7_4 +9
- Red Hat Enterprise Linux ComputeNode (v. 7) libsmbclient-4.6.2-11.el7_4, libwbclient-4.6.2-11.el7_4, samba-4.6.2-11.el7_4 +9
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libsmbclient-devel-4.6.2-11.el7_4, libwbclient-devel-4.6.2-11.el7_4, samba-4.6.2-11.el7_4 +10
- Red Hat Enterprise Linux Server (v. 7) libsmbclient-4.6.2-11.el7_4, libsmbclient-4.6.2-11.el7_4.ppc, libwbclient-4.6.2-11.el7_4 +16
- Red Hat Enterprise Linux Server Optional (v. 7) libsmbclient-devel-4.6.2-11.el7_4, libsmbclient-devel-4.6.2-11.el7_4.ppc, libwbclient-devel-4.6.2-11.el7_4 +12
- Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb-4.6.2-11.el7_4, ctdb-tests-4.6.2-11.el7_4
- Red Hat Enterprise Linux Workstation (v. 7) libsmbclient-4.6.2-11.el7_4, libwbclient-4.6.2-11.el7_4, samba-4.6.2-11.el7_4 +11
- Red Hat Enterprise Linux Workstation Optional (v. 7) libsmbclient-devel-4.6.2-11.el7_4, libwbclient-devel-4.6.2-11.el7_4, samba-dc-4.6.2-11.el7_4 +7
Show 1 more Red Hat advisories
- RHSA-2017:2791 Released 2017-09-21 · Red Hat rating Moderatesamba4 security update
- Red Hat Enterprise Linux Desktop (v. 6) samba4-4.2.10-11.el6_9, samba4-client-4.2.10-11.el6_9, samba4-common-4.2.10-11.el6_9 +10
- Red Hat Enterprise Linux HPC Node (v. 6) samba4-4.2.10-11.el6_9, samba4-client-4.2.10-11.el6_9, samba4-common-4.2.10-11.el6_9 +10
- Red Hat Enterprise Linux Server (v. 6) samba4-4.2.10-11.el6_9, samba4-client-4.2.10-11.el6_9, samba4-common-4.2.10-11.el6_9 +10
- Red Hat Enterprise Linux Workstation (v. 6) samba4-4.2.10-11.el6_9, samba4-client-4.2.10-11.el6_9, samba4-common-4.2.10-11.el6_9 +10
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
samba — RHSA-2017:2790
3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2017-08942 It was found that samba before 4.4.16, 4.5.x before 4.5.14, and 4.6.x before 4.6.8 did…Priority MEDIUM 47
- TI-2017-08943 Cryptographic flaw in sambaPriority LOW 39
- Advisory ·
samba — RHSA-2017:2858
3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2017-08942 It was found that samba before 4.4.16, 4.5.x before 4.5.14, and 4.6.x before 4.6.8 did…Priority MEDIUM 47
- TI-2017-08943 Cryptographic flaw in sambaPriority LOW 39
Show 2 more groups
- Advisory ·
samba — DSA-3983
3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2017-08942 It was found that samba before 4.4.16, 4.5.x before 4.5.14, and 4.6.x before 4.6.8 did…Priority MEDIUM 47
- TI-2017-08943 Cryptographic flaw in sambaPriority LOW 39
- Advisory ·
Samba — RHSA-2017:2791
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2017-08942 It was found that samba before 4.4.16, 4.5.x before 4.5.14, and 4.6.x before 4.6.8 did…Priority MEDIUM 47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2017:2789, RHSA-2017:2791 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2017:2789 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2017:2789, RHSA-2017:2791 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2017:2789 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2017:2789, RHSA-2017:2791 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2017:2789 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Enterprise Linux Server Resilient Storage (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2017:2789, RHSA-2017:2791 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2017:2789 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2017:2790 |
| Red Hat Gluster 3.3 Samba on RHEL-6 | Fixed | RHSA-2017:2858 |
| Red Hat Gluster 3.3 Samba on RHEL-7 | Fixed | RHSA-2017:2858 |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-12163
- 2026-10-03 Alias added: GHSA-hvhw-9wrg-hf3q
References
Advisory 10
- 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/
- RHSA-2017:2790
- 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
- DSA-3983
- RHSA-2017:2858
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12163
- RHSA-2017:2789
- RHSA-2017:2791
More Samba vulnerabilities
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2017-05139 Code injection in samba KEVCVSS 3.1CRITICAL 9.8
- TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
- TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
- TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
- TI-2007-02362 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… CVSS 2.0HIGH 10.0
Sources
- CVE-2017-12163 · CVE Program
- CVE-2017-12163 · NVD
- FIRST EPSS
- GHSA-hvhw-9wrg-hf3q · GitHub Advisory Database · CC BY 4.0
- CVE-2017-12163 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences