CVE-2017-12151: A flaw was found in the way samba client before samba 4.4.16, samba 4.5.14 and samba 4.6.8 used encryption with the max protocol set as SMB3
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.1% (FIRST EPSS); higher than 90.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: samba (Alpine:v3.10) 4.7.0-r0; samba (Alpine:v3.4) 4.4.16-r0; samba (Alpine:v3.5) 4.5.14-r0.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to samba (Alpine:v3.10) 4.7.0-r0; samba (Alpine:v3.4) 4.4.16-r0; samba (Alpine:v3.5) 4.5.14-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A flaw was found in the way samba client before samba 4.4.16, samba 4.5.14 and samba 4.6.8 used encryption with the max protocol set as SMB3. The connection could lose the requirement for signing and encrypting to any DFS redirects, allowing an attacker to read or alter the contents of the connection via a man-in-the-middle attack.
- Published
- Jul 27, 2018
- Updated
- Jun 16, 2026
- EPSS
- 4.1% · 90th percentile
- CWE
- CWE-300
Report tools
Action score
30
Low priority for now.
- CVSS
- 29 / 40 · 7.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.1%
CNA vs NVD score
- NVD
- 7.4
- CNA · redhat
- 7.4
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| hp | cifs server | cpe:2.3:a:hp:cifs_server |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Samba samba
- 4.4.16, 4.5.14, 4.6.8affected
Affected versions · NVD (12)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux8.0
- debian debian linux9.0
- hp cifs serverb.04.05.11.00
- redhat enterprise linux7.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux server aus7.4
- redhat enterprise linux server eus7.4
- redhat enterprise linux server eus7.5
- redhat enterprise linux workstation7.0
- samba sambabefore 4.4.16
- samba samba4.6.0 and later · before 4.6.8
- samba samba4.5.0 and later · before 4.5.14
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | samba | from 4.5.0 · before 4.7.0-r0 | 4.7.0-r0 |
| Alpine:v3.4 | samba | from 4.5.0 · before 4.4.16-r0 | 4.4.16-r0 |
| Alpine:v3.5 | samba | from 4.5.0 · before 4.5.14-r0 | 4.5.14-r0 |
| Alpine:v3.6 | samba | from 4.5.0 · before 4.6.8-r0 | 4.6.8-r0 |
| Debian:12 | samba | before 2:4.6.7+dfsg-2 | 2:4.6.7+dfsg-2 |
| Debian:8 | samba | before 2:4.2.14+dfsg-0+deb8u8 | 2:4.2.14+dfsg-0+deb8u8 |
| Debian:9 | samba | before 2:4.5.8+dfsg-2+deb9u2 | 2:4.5.8+dfsg-2+deb9u2 |
| openSUSE:Tumbleweed | samba | before 4.14.6+git.182.2205d5224e3-1.1 | 4.14.6+git.182.2205d5224e3-1.1 |
| Red Hat:enterprise_linux:7::client | libsmbclient | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | libsmbclient-devel | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | libwbclient | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | libwbclient-devel | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-client | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-client-libs | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-common | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-common-libs | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-common-tools | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-dc | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-dc-libs | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-debuginfo | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-devel | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-krb5-printing | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | samba-libs | before 0:4.6.2-11.el7_4 | 0:4.6.2-11.el7_4 |
+71
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious…KEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x…66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1…66This week
Published before and after this one in the same product
- ← EarlierCVE-2017-12163Jul 26, 2018 · 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.30Monitor
- ← EarlierCVE-2017-12150Jul 26, 2018 · 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 not enforce "SMB signing" when certain configuration…33Monitor
- Later →CVE-2018-1139Aug 22, 2018 · A flaw was found in the way samba before 4.7.9 and 4.8.4 allowed the use of weak NTLMv1 authentication even when NTLMv1 was explicitly…33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:samba | 4.7.0-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:samba | 2:4.6.7+dfsg-2 · Debian:12 | Package registry (OSV) |
| opensuse:samba | 4.14.6+git.182.2205d5224e3-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:libsmbclient | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libwbclient | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-client | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-client-libs | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-common | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-common-libs | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-common-tools | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-debuginfo | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-krb5-printing | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-libs | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:samba-winbind | 0:4.6.2-11.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:samba | 4.4.2-38.11.2 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-17-120 · Sep 20, 2017(Samba, Güvenlik Güncellemesi Yayınladı)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-300 · Channel Accessible by Non-EndpointCVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Leveraging Active Adversary in the Middle Attacks to Bypass Same Origin PolicyCAPEC-466Medium
- Utilizing REST's Trust in the System Resource to Obtain Sensitive DataCAPEC-57likelihood: Medium · Very High
- DNS BlockingCAPEC-589
- IP Address BlockingCAPEC-590likelihood: Low · High
- WiFi MAC Address TrackingCAPEC-612Low
- WiFi SSID TrackingCAPEC-613Low
- Evil Twin Wi-Fi AttackCAPEC-615Low
- Adversary in the Browser (AiTB)CAPEC-662likelihood: High · Very High
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- www.securitytracker.com/id/1039401
- access.redhat.com/errata/RHSA-2017:2790
- access.redhat.com/errata/RHSA-2017:2858
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12151
- security.netapp.com/advisory/ntap-20170921-0001/
- support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03817en_us
- www.debian.org/security/2017/dsa-3983
- www.samba.org/samba/security/CVE-2017-12151.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.