Skip to content
Fencer Vulns
high 7.4

CVE-2017-12151 json

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 SMB…

published 2018-07-27 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-3735

cvss
7.4
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.1%
EPSS 4.1% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • samba samba 4.4.16, 4.5.14, 4.6.8
  • samba Debian 14, Debian 13, Debian 12 2:4.6.7+dfsg-2

debian advisories DEBIAN-CVE-2017-12151

  • samba Ubuntu 14.04 LTS 2:4.3.11+dfsg-0ubuntu0.14.04.12
  • samba Ubuntu 16.04 LTS 2:4.3.11+dfsg-0ubuntu0.16.04.11

ubuntu advisories UBUNTU-CVE-2017-12151

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba storage 3.3 4.6.3-6.el6rhs
  • samba storage 3.3 4.6.3-6.el7rhgs
  • ctdb storage 3.3 4.6.3-6.el6rhs
  • ctdb storage 3.3 4.6.3-6.el7rhgs
  • samba-dc storage 3.3 4.6.3-6.el6rhs
  • samba-dc storage 3.3 4.6.3-6.el7rhgs
  • ctdb-tests storage 3.3 4.6.3-6.el6rhs
  • ctdb-tests storage 3.3 4.6.3-6.el7rhgs

red hat advisories RHSA-2017:2858RHSA-2017:2790

  • samba SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +3 more 4.6.9+git.59.c2cff9cea4c-3.17.1
  • samba SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +5 more 4.2.4-28.21.1
  • samba SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 4.2.4-28.19.3
  • samba SLES 12-LTSS, SLE High Availability Extension 12 4.2.4-18.44.2
  • samba SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +2 more 4.6.7+git.51.327af8d0a11-3.12.1
  • samba SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +3 more 4.4.2-38.11.2

suse advisories SUSE-SU-2017:3155-1SUSE-SU-2017:2971-1SUSE-SU-2017:2726-1SUSE-SU-2017:2704-1SUSE-SU-2017:2695-1SUSE-SU-2017:2650-1

  • samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1

opensuse advisories openSUSE-SU-2024:11365-1

  • samba Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 4.7.0-r0
  • samba Alpine 3.4 4.4.16-r0
  • samba Alpine 3.5 4.5.14-r0
  • samba Alpine 3.6 4.6.8-r0

alpine advisories ALPINE-CVE-2017-12151

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-12151 updated cvss 7.4

samba: SMB2 connections don't keep encryption across DFS redirects

  • Red Hat Enterprise Linux 6 samba4, samba4-dc, samba4-libs, samba4-pidl, samba4-swat, samba4-test, +7 more
    affected: workaround, no fix planned “Keep the default of "client max protocol = NT1".”
  • Red Hat Enterprise Linux Client (v. 7) samba 4.6.2-11.el7_4, samba-libs 4.6.2-11.el7_4, libwbclient 4.6.2-11.el7_4, libsmbclient 4.6.2-11.el7_4, samba-client 4.6.2-11.el7_4, samba-common 4.6.2-11.el7_4, +7 more Red Hat Enterprise Linux Client Optional (v. 7) samba 4.6.2-11.el7_4, samba-dc 4.6.2-11.el7_4, samba-pidl 4.6.2-11.el7_4, samba-test 4.6.2-11.el7_4, samba-python 4.6.2-11.el7_4, samba-dc-libs 4.6.2-11.el7_4, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) samba 4.6.2-11.el7_4, samba-libs 4.6.2-11.el7_4, libwbclient 4.6.2-11.el7_4, libsmbclient 4.6.2-11.el7_4, samba-client 4.6.2-11.el7_4, samba-common 4.6.2-11.el7_4, +6 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) samba 4.6.2-11.el7_4, samba-dc 4.6.2-11.el7_4, samba-pidl 4.6.2-11.el7_4, samba-test 4.6.2-11.el7_4, samba-python 4.6.2-11.el7_4, samba-dc-libs 4.6.2-11.el7_4, +4 more Red Hat Enterprise Linux Server (v. 7) samba 4.6.2-11.el7_4, samba-libs 4.6.2-11.el7_4, libwbclient 4.6.2-11.el7_4, libsmbclient 4.6.2-11.el7_4, samba-client 4.6.2-11.el7_4, samba-common 4.6.2-11.el7_4, +8 more Red Hat Enterprise Linux Server Optional (v. 7) samba-dc 4.6.2-11.el7_4, samba-pidl 4.6.2-11.el7_4, samba-test 4.6.2-11.el7_4, samba-python 4.6.2-11.el7_4, samba-dc-libs 4.6.2-11.el7_4, samba-test-libs 4.6.2-11.el7_4, +2 more
    +3 more products
    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) samba 4.6.2-11.el7_4, samba-libs 4.6.2-11.el7_4, libwbclient 4.6.2-11.el7_4, libsmbclient 4.6.2-11.el7_4, samba-client 4.6.2-11.el7_4, samba-common 4.6.2-11.el7_4, +8 more Red Hat Enterprise Linux Workstation Optional (v. 7) samba-dc 4.6.2-11.el7_4, samba-pidl 4.6.2-11.el7_4, samba-test 4.6.2-11.el7_4, samba-dc-libs 4.6.2-11.el7_4, samba-test-libs 4.6.2-11.el7_4, samba-vfs-glusterfs 4.6.2-11.el7_4, +1 more
    fixed: vendor fix “Keep the default of "client max protocol = NT1".” RHSA-2017:2790
  • Red Hat Gluster 3.3 Samba on RHEL-6 ctdb 4.6.3-6.el6rhs, samba 4.6.3-6.el6rhs, samba-dc 4.6.3-6.el6rhs, ctdb-tests 4.6.3-6.el6rhs, samba-libs 4.6.3-6.el6rhs, samba-pidl 4.6.3-6.el6rhs, +17 more Red Hat Gluster 3.3 Samba on RHEL-7 ctdb 4.6.3-6.el7rhgs, samba 4.6.3-6.el7rhgs, samba-dc 4.6.3-6.el7rhgs, ctdb-tests 4.6.3-6.el7rhgs, samba-libs 4.6.3-6.el7rhgs, samba-pidl 4.6.3-6.el7rhgs, +17 more
    fixed: vendor fix “Keep the default of "client max protocol = NT1".” RHSA-2017:2858
  • Red Hat Enterprise Linux 5 samba, samba3x Red Hat Enterprise Linux 6 samba, samba-swat, libsmbclient, samba-client, samba-common, samba-winbind, +4 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.10% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 7.4 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 3.0 7.4 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 2.0 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Affected products

  • Samba samba

Classification

Weakness
  • CWE-300 Channel Accessible by Non-Endpoint
  • CWE-310 Cryptographic Issues

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.