High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-12151
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:39 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-12151
Complete source record
{
"id": "3803b8222be934dc933453da95762261ce56968b53749bf39e69334a545b61df",
"url": "https://osv.dev/vulnerability/CVE-2017-12151",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-12151",
"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.",
"evidence": "osv:CVE-2017-12151",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-12151",
"aliases": [
"CVE-2017-12151"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/samba-team/samba",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "89edb76883be2d19f490ea9b5d898ac37f8b60f1"
},
{
"introduced": "916fab083a8cb5c10365da7f3a85d0bbfde4a30e"
},
{
"fixed": "f261c9a5ef07a0a4230b891b2585c5f21945e196"
},
{
"introduced": "f17816a4ae2bb0ed45561347a4c578ca9ab28ccf"
},
{
"fixed": "be2ffca00a983bc3e599e0eb84ab35c517e9d07c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.4.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.5.0"
},
{
"fixed": "4.5.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.6.0"
},
{
"fixed": "4.6.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"samba-4.5.13",
"samba-4.6.7",
"samba-4.4.15",
"samba-4.5.12",
"samba-4.5.11",
"samba-4.6.5",
"samba-4.6.3",
"samba-4.5.9",
"samba-4.6.0",
"samba-4.5.6",
"samba-4.4.11",
"samba-4.4.10",
"samba-4.5.5",
"samba-4.5.4",
"samba-4.4.7",
"samba-4.5.0",
"samba-4.4.4",
"samba-4.4.3",
"samba-4.4.2",
"samba-4.4.1",
"samba-4.4.0",
"samba-4.4.0rc5",
"samba-4.4.0rc4",
"samba-4.4.0rc3",
"samba-4.4.0rc2",
"samba-4.4.0rc1",
"ldb-1.1.25",
"ldb-1.1.23",
"talloc-2.1.5",
"tdb-1.3.8",
"tevent-0.9.26",
"ldb-1.1.22",
"talloc-2.1.4",
"samba-4.3.0rc1",
"ldb-1.1.21",
"tdb-1.3.7",
"talloc-2.1.3",
"tdb-1.3.6",
"tevent-0.9.25",
"tdb-1.3.5",
"talloc-2.1.2",
"tevent-0.9.24",
"tevent-0.9.23",
"ldb-1.1.20",
"ldb-1.1.19",
"tdb-1.3.4",
"tdb-1.3.3",
"ldb-1.1.18",
"tdb-1.3.2",
"samba-4.2.0rc1",
"tevent-0.9.22",
"tdb-1.3.1",
"tdb-1.3.0",
"talloc-2.1.1",
"ldb-1.1.17",
"tdb-1.2.13",
"tevent-0.9.21",
"tevent-0.9.20",
"talloc-2.1.0",
"tevent-0.9.19",
"ldb-1.1.16",
"tdb-1.2.12",
"tevent-0.9.18",
"ldb-1.1.15",
"ldb-1.1.14",
"tdb-1.2.11",
"talloc-2.0.8",
"samba-4.0.0rc1",
"ldb-1.1.13",
"samba-4.0.0beta8",
"ldb-1.1.12",
"ldb-1.1.11",
"samba-4.0.0beta7",
"tevent-0.9.17",
"samba-4.0.0beta6",
"ldb-1.1.10",
"ldb-1.1.9",
"samba-4.0.0beta5",
"samba-4.0.0beta4",
"ldb-1.1.8",
"samba-4.0.0beta3",
"samba-4.0.0beta2",
"tevent-0.9.16",
"samba-4.0.0beta1",
"samba-4.0.0alpha21",
"samba-4.0.0alpha20",
"ldb-1.1.6",
"samba-4.0.0alpha19",
"ldb-1.1.5",
"tdb-1.2.10",
"samba-4.0.0alpha18",
"tevent-0.9.15",
"ldb-1.1.4",
"ldb-1.1.3",
"talloc-2.0.7",
"samba-4.0.0alpha17",
"tevent-0.9.14",
"ldb-1.1.2",
"tevent-0.9.13",
"tevent-0.9.12",
"ldb-1.1.0",
"tevent-0.9.11",
"tdb-1.2.1",
"samba-4.0.0alpha10",
"samba-4.0.0alpha9",
"tdb-1.2.0",
"tevent-0.9.8",
"talloc-2.0.0",
"samba-4.0.0alpha8",
"talloc-1.3.1",
"tdb-1.1.5",
"samba-4.0.0alpha7",
"samba-4.0.0alpha6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12151.json"
}
}
],
"modified": "2026-10-24T10:30:56.240094567Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2017:2790",
"https://access.redhat.com/errata/RHSA-2017:2858",
"https://security.netapp.com/advisory/ntap-20170921-0001/",
"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://www.samba.org/samba/security/CVE-2017-12151.html",
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12151"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:hp:cifs_server:b.04.05.11.00:*:*:*:*:*:*:*"
],
"vendor_product": "hp:cifs_server",
"extracted_events": [
{
"range": [
{
"introduced": "b.04.05.11.00"
},
{
"last_affected": "b.04.05.11.00"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_desktop",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_server_aus",
"extracted_events": [
{
"range": [
{
"introduced": "7.4"
},
{
"last_affected": "7.4"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*",
"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_server_eus",
"extracted_events": [
{
"range": [
{
"introduced": "7.4"
},
{
"last_affected": "7.4"
},
{
"introduced": "7.5"
},
{
"last_affected": "7.5"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_workstation",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-12151",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438618,
"published_at": "2018-07-27T12:29:00.223+00:00"
}