cve.bz

CVE-2017-12151 Cryptographic Issues

7.4 highEPSS 4.1%

High (7.4). EPSS 4.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.4 high
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
4.1% (unchanged from 4.1% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-310 Cryptographic Issues
CWE-300 Channel Accessible by Non-Endpoint
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-12151 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-12151?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-12151?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-12151 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambabefore 4.4.16
samba:sambafrom 4.5.0 before 4.5.14
samba:sambafrom 4.6.0 before 4.6.8
debian:debian_linux8.0
debian:debian_linux9.0
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
hp:cifs_serverb.04.05.11.00

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8samba2:4.2.14+dfsg-0+deb8u8DSA-3983-1
Debian9samba2:4.5.8+dfsg-2+deb9u2DSA-3983-1
Debian12, 13, 14samba2:4.6.7+dfsg-2DEBIAN-CVE-2017-12151
Ubuntu14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.12UBUNTU-CVE-2017-12151 USN-3426-1
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.11UBUNTU-CVE-2017-12151 USN-3426-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 22 more0:4.6.2-11.el7_4RHSA-2017:2790
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 24 more0:4.6.2-11.el7_4RHSA-2017:2790
Red Hatstorage:3.3:samba:el6ctdb, samba, samba-dc and 24 more0:4.6.3-6.el6rhsRHSA-2017:2858
Red Hatstorage:3.3:samba:el7ctdb, samba, samba-dc and 24 more0:4.6.3-6.el7rhgsRHSA-2017:2858
SUSEEnterprise Storage 5, Linux Enterprise Desktop 12 SP3, Linux Enterprise High Availability Extension 12 SP3 and 3 moresamba4.6.9+git.59.c2cff9cea4c-3.17.1SUSE-SU-2017:3155-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2 and 3 moresamba4.4.2-38.11.2SUSE-SU-2017:2650-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12 SP2 and 5 moresamba4.2.4-28.21.1SUSE-SU-2017:2971-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise High Availability Extension 12 SP3, Linux Enterprise Server 12 SP3 and 2 moresamba4.6.7+git.51.327af8d0a11-3.12.1SUSE-SU-2017:2695-1
SUSELinux Enterprise High Availability Extension 12, Linux Enterprise Server 12-LTSSsamba4.2.4-18.44.2SUSE-SU-2017:2704-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1, OpenStack Cloud 6samba4.2.4-28.19.3SUSE-SU-2017:2726-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.4samba4.4.16-r0ALPINE-CVE-2017-12151
Alpinev3.5samba4.5.14-r0ALPINE-CVE-2017-12151
Alpinev3.6samba4.6.8-r0ALPINE-CVE-2017-12151
Alpinev3.7, v3.8, v3.9 and 15 moresamba4.7.0-r0ALPINE-CVE-2017-12151

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The samba4 package in Red Hat Enterprise Linux 6, is a tech preview and by default uses the SMB1 protocol, therefore though affected by this flaw, will not be addressed in a security update.

Red Hat's mitigation

Keep the default of "client max protocol = NT1".

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7samba-0:4.6.2-11.el7_4Fixed 2017-09-21RHSA-2017:2790
Red Hat Gluster Storage 3.3 for RHEL 6samba-0:4.6.3-6.el6rhsFixed 2017-10-04RHSA-2017:2858
Red Hat Gluster Storage 3.3 for RHEL 7samba-0:4.6.3-6.el7rhgsFixed 2017-10-04RHSA-2017:2858
Red Hat Enterprise Linux 5sambaNot affected
Red Hat Enterprise Linux 5samba3xNot affected
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 6samba4Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-12151.

Attack patterns (CAPEC)

  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-466 Leveraging Active Adversary in the Middle Attacks to Bypass Same Origin Policy Severity: Medium
  • CAPEC-589 DNS Blocking
  • CAPEC-590 IP Address Blocking Likelihood: Low · Severity: High
  • CAPEC-612 WiFi MAC Address Tracking Severity: Low
  • CAPEC-613 WiFi SSID Tracking Severity: Low
  • CAPEC-615 Evil Twin Wi-Fi Attack Severity: Low
  • CAPEC-662 Adversary in the Browser (AiTB) Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON