CVE-2017-7494 kev+ ransomware in the critical feed json
Samba 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 cl…
published 2017-05-30 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-16511
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Exploited
- added 2023-03-30, used in ransomware
- epss
- 99.4%
- EPSS 99.4% chance of exploitation in 30 days, percentile 99.9%
- public exploits
- 3
- Metasploit, Exploit-DB
Summary
Samba 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 client to upload a shared library to a writable share, and then cause the server to load and execute it.
Patch / fix
cisa required action Apply updates per vendor instructions.
- samba samba 4.4.0, 4.4.14, 4.5.10, 4.6.4
- samba Debian 14, Debian 13, Debian 12 2:4.5.8+dfsg-2
debian advisories DEBIAN-CVE-2017-7494
- samba Ubuntu 14.04 LTS 2:4.3.11+dfsg-0ubuntu0.14.04.8
- samba Ubuntu 16.04 LTS 2:4.3.11+dfsg-0ubuntu0.16.04.7
ubuntu advisories UBUNTU-CVE-2017-7494
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.2 4.4.6-5.el6rhs
- samba storage 3.2 4.4.6-5.el7rhgs
- ctdb storage 3.2 4.4.6-5.el6rhs
- ctdb storage 3.2 4.4.6-5.el7rhgs
- samba-dc storage 3.2 4.4.6-5.el6rhs
- samba-dc storage 3.2 4.4.6-5.el7rhgs
- ctdb-tests storage 3.2 4.4.6-5.el6rhs
- ctdb-tests storage 3.2 4.4.6-5.el7rhgs
red hat advisories RHSA-2017:1390RHSA-2017:1273RHSA-2017:1272RHSA-2017:1271RHSA-2017:1270
- samba SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 3.6.3-93.1
- samba SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +7 more 4.2.4-28.14.1
- samba SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +3 more 4.4.2-38.6.1
- samba SLES for SAP 12, SLES 12-LTSS 4.2.4-18.41.1
suse advisories SUSE-SU-2017:1391-1SUSE-SU-2017:1392-1SUSE-SU-2017:1393-1SUSE-SU-2017:1396-1
- samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1
opensuse advisories openSUSE-SU-2024:11365-1
- samba Alpine 3.3 4.2.14-r3
- samba Alpine 3.4 4.4.14-r0
alpine advisories ALPINE-CVE-2017-7494
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- samba Arch Linux 4.5.10-1
arch linux advisories AVG-279
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-7494 updated cvss 7.5
samba: Loading shared modules from any path in the system leading to RCE (SambaCry)
-
Red Hat Enterprise Linux Client (v. 7) samba 4.4.4-14.el7_3, samba-libs 4.4.4-14.el7_3, libwbclient 4.4.4-14.el7_3, libsmbclient 4.4.4-14.el7_3, samba-client 4.4.4-14.el7_3, samba-common 4.4.4-14.el7_3, +7 more Red Hat Enterprise Linux Client Optional (v. 7) samba 4.4.4-14.el7_3, samba-dc 4.4.4-14.el7_3, samba-pidl 4.4.4-14.el7_3, samba-test 4.4.4-14.el7_3, samba-python 4.4.4-14.el7_3, samba-dc-libs 4.4.4-14.el7_3, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) samba 4.4.4-14.el7_3, samba-libs 4.4.4-14.el7_3, libwbclient 4.4.4-14.el7_3, libsmbclient 4.4.4-14.el7_3, samba-client 4.4.4-14.el7_3, samba-common 4.4.4-14.el7_3, +6 morefixed: vendor fix RHSA-2017:1270
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.2) samba 4.2.10-11.el7_2, samba-libs 4.2.10-11.el7_2, libwbclient 4.2.10-11.el7_2, libsmbclient 4.2.10-11.el7_2, samba-client 4.2.10-11.el7_2, samba-common 4.2.10-11.el7_2, +6 morefixed: vendor fix RHSA-2017:1390
-
Red Hat Enterprise Linux ComputeNode Optional (v. 7) samba 4.4.4-14.el7_3, samba-dc 4.4.4-14.el7_3, samba-pidl 4.4.4-14.el7_3, samba-test 4.4.4-14.el7_3, samba-python 4.4.4-14.el7_3, samba-dc-libs 4.4.4-14.el7_3, +4 morefixed: vendor fix RHSA-2017:1270
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.2) samba 4.2.10-11.el7_2, samba-dc 4.2.10-11.el7_2, samba-pidl 4.2.10-11.el7_2, samba-test 4.2.10-11.el7_2, samba-python 4.2.10-11.el7_2, samba-dc-libs 4.2.10-11.el7_2, +3 morefixed: vendor fix RHSA-2017:1390
-
Red Hat Enterprise Linux Desktop (v. 6) samba 3.6.23-43.el6_9, samba4 4.2.10-10.el6_9, samba4-dc 4.2.10-10.el6_9, samba4-libs 4.2.10-10.el6_9, samba4-pidl 4.2.10-10.el6_9, samba4-test 4.2.10-10.el6_9, +12 more Red Hat Enterprise Linux Desktop Optional (v. 6) samba 3.6.23-43.el6_9, samba-swat 3.6.23-43.el6_9, samba-glusterfs 3.6.23-43.el6_9, samba-domainjoin-gui 3.6.23-43.el6_9, samba-winbind-krb5-locator 3.6.23-43.el6_9 Red Hat Enterprise Linux HPC Node (v. 6) samba 3.6.23-43.el6_9, samba4 4.2.10-10.el6_9, samba4-dc 4.2.10-10.el6_9, samba4-libs 4.2.10-10.el6_9, samba4-pidl 4.2.10-10.el6_9, samba4-test 4.2.10-10.el6_9, +11 morefixed: vendor fix RHSA-2017:1270
-
Red Hat Enterprise Linux HPC Node EUS (v. 6.7) samba 3.6.23-32.el6_7, samba-client 3.6.23-32.el6_7, samba-common 3.6.23-32.el6_7, samba-winbind 3.6.23-32.el6_7, samba-winbind-clients 3.6.23-32.el6_7fixed: vendor fix RHSA-2017:1390
-
Red Hat Enterprise Linux HPC Node Optional (v. 6) samba 3.6.23-43.el6_9, samba-swat 3.6.23-43.el6_9, libsmbclient 3.6.23-43.el6_9, samba-glusterfs 3.6.23-43.el6_9, samba-domainjoin-gui 3.6.23-43.el6_9, samba-winbind-krb5-locator 3.6.23-43.el6_9fixed: vendor fix RHSA-2017:1270
-
Red Hat Enterprise Linux HPC Node Optional EUS (v. 6.7) samba 3.6.23-32.el6_7, samba-swat 3.6.23-32.el6_7, libsmbclient 3.6.23-32.el6_7, samba-glusterfs 3.6.23-32.el6_7, samba-domainjoin-gui 3.6.23-32.el6_7, samba-winbind-krb5-locator 3.6.23-32.el6_7fixed: vendor fix RHSA-2017:1390
show 9 moreshow fewer
-
Red Hat Enterprise Linux Server (v. 5 ELS) samba3x 3.6.23-14.el5_11, samba3x-swat 3.6.23-14.el5_11, samba3x-client 3.6.23-14.el5_11, samba3x-common 3.6.23-14.el5_11, samba3x-winbind 3.6.23-14.el5_11, samba3x-domainjoin-gui 3.6.23-14.el5_11fixed: vendor fix RHSA-2017:1272
-
Red Hat Enterprise Linux Server (v. 6) samba 3.6.23-43.el6_9, samba4 4.2.10-10.el6_9, samba4-dc 4.2.10-10.el6_9, samba4-libs 4.2.10-10.el6_9, samba4-pidl 4.2.10-10.el6_9, samba4-test 4.2.10-10.el6_9, +12 more Red Hat Enterprise Linux Server (v. 7) samba 4.4.4-14.el7_3, samba-libs 4.4.4-14.el7_3, libwbclient 4.4.4-14.el7_3, libsmbclient 4.4.4-14.el7_3, samba-client 4.4.4-14.el7_3, samba-common 4.4.4-14.el7_3, +8 morefixed: vendor fix RHSA-2017:1270
-
Red Hat Enterprise Linux Server AUS (v. 6.2) samba 3.6.23-32.el6_2, libsmbclient 3.6.23-32.el6_2, samba-client 3.6.23-32.el6_2, samba-common 3.6.23-32.el6_2, samba-winbind 3.6.23-32.el6_2, samba-winbind-clients 3.6.23-32.el6_2 Red Hat Enterprise Linux Server AUS (v. 6.4) samba 3.6.23-32.el6_4, libsmbclient 3.6.23-32.el6_4, samba-client 3.6.23-32.el6_4, samba-common 3.6.23-32.el6_4, samba-winbind 3.6.23-32.el6_4, samba-winbind-clients 3.6.23-32.el6_4 Red Hat Enterprise Linux Server AUS (v. 6.5) samba 3.6.23-32.el6_5, libsmbclient 3.6.23-32.el6_5, samba-client 3.6.23-32.el6_5, samba-common 3.6.23-32.el6_5, samba-winbind 3.6.23-32.el6_5, samba-winbind-clients 3.6.23-32.el6_5 Red Hat Enterprise Linux Server AUS (v. 6.6) samba 3.6.23-32.el6_6, libsmbclient 3.6.23-32.el6_6, samba-client 3.6.23-32.el6_6, samba-common 3.6.23-32.el6_6, samba-winbind 3.6.23-32.el6_6, samba-winbind-clients 3.6.23-32.el6_6 Red Hat Enterprise Linux Server EUS (v. 6.7) samba 3.6.23-32.el6_7, libsmbclient 3.6.23-32.el6_7, samba-client 3.6.23-32.el6_7, samba-common 3.6.23-32.el6_7, samba-winbind 3.6.23-32.el6_7, samba-winbind-clients 3.6.23-32.el6_7 Red Hat Enterprise Linux Server EUS (v. 7.2) samba 4.2.10-11.el7_2, samba-libs 4.2.10-11.el7_2, libwbclient 4.2.10-11.el7_2, libsmbclient 4.2.10-11.el7_2, samba-client 4.2.10-11.el7_2, samba-common 4.2.10-11.el7_2, +7 morefixed: vendor fix RHSA-2017:1390
-
Red Hat Enterprise Linux Server Optional (v. 6) samba-swat 3.6.23-43.el6_9, samba-glusterfs 3.6.23-43.el6_9, samba-domainjoin-gui 3.6.23-43.el6_9, samba-winbind-krb5-locator 3.6.23-43.el6_9 Red Hat Enterprise Linux Server Optional (v. 7) samba-dc 4.4.4-14.el7_3, samba-pidl 4.4.4-14.el7_3, samba-test 4.4.4-14.el7_3, samba-python 4.4.4-14.el7_3, samba-dc-libs 4.4.4-14.el7_3, samba-test-libs 4.4.4-14.el7_3, +2 morefixed: vendor fix RHSA-2017:1270
-
Red Hat Enterprise Linux Server Optional AUS (v. 6.2) samba 3.6.23-32.el6_2, samba-swat 3.6.23-32.el6_2, samba-domainjoin-gui 3.6.23-32.el6_2, samba-winbind-krb5-locator 3.6.23-32.el6_2 Red Hat Enterprise Linux Server Optional AUS (v. 6.4) samba 3.6.23-32.el6_4, samba-swat 3.6.23-32.el6_4, samba-domainjoin-gui 3.6.23-32.el6_4, samba-winbind-krb5-locator 3.6.23-32.el6_4 Red Hat Enterprise Linux Server Optional AUS (v. 6.5) samba 3.6.23-32.el6_5, samba-swat 3.6.23-32.el6_5, samba-domainjoin-gui 3.6.23-32.el6_5, samba-winbind-krb5-locator 3.6.23-32.el6_5 Red Hat Enterprise Linux Server Optional AUS (v. 6.6) samba-swat 3.6.23-32.el6_6, samba-domainjoin-gui 3.6.23-32.el6_6, samba-winbind-krb5-locator 3.6.23-32.el6_6 Red Hat Enterprise Linux Server Optional EUS (v. 6.7) samba-swat 3.6.23-32.el6_7, samba-glusterfs 3.6.23-32.el6_7, samba-domainjoin-gui 3.6.23-32.el6_7, samba-winbind-krb5-locator 3.6.23-32.el6_7 Red Hat Enterprise Linux Server Optional EUS (v. 7.2) samba-dc 4.2.10-11.el7_2, samba-pidl 4.2.10-11.el7_2, samba-test 4.2.10-11.el7_2, samba-python 4.2.10-11.el7_2, samba-dc-libs 4.2.10-11.el7_2, samba-test-libs 4.2.10-11.el7_2, +2 morefixed: vendor fix RHSA-2017:1390
+2 more productsfewer
Red Hat Enterprise Linux Server Optional TUS (v. 6.5) samba 3.6.23-32.el6_5, samba-swat 3.6.23-32.el6_5, samba-domainjoin-gui 3.6.23-32.el6_5, samba-winbind-krb5-locator 3.6.23-32.el6_5 Red Hat Enterprise Linux Server Optional TUS (v. 6.6) samba-swat 3.6.23-32.el6_6, samba-domainjoin-gui 3.6.23-32.el6_6, samba-winbind-krb5-locator 3.6.23-32.el6_6 -
Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb 4.4.4-14.el7_3, ctdb-tests 4.4.4-14.el7_3fixed: vendor fix RHSA-2017:1270
-
Red Hat Enterprise Linux Server Resilient Storage EUS (v. 7.2) ctdb 4.2.10-11.el7_2, ctdb-tests 4.2.10-11.el7_2 Red Hat Enterprise Linux Server TUS (v. 6.5) samba 3.6.23-32.el6_5, libsmbclient 3.6.23-32.el6_5, samba-client 3.6.23-32.el6_5, samba-common 3.6.23-32.el6_5, samba-winbind 3.6.23-32.el6_5, samba-winbind-clients 3.6.23-32.el6_5 Red Hat Enterprise Linux Server TUS (v. 6.6) samba 3.6.23-32.el6_6, libsmbclient 3.6.23-32.el6_6, samba-client 3.6.23-32.el6_6, samba-common 3.6.23-32.el6_6, samba-winbind 3.6.23-32.el6_6, samba-winbind-clients 3.6.23-32.el6_6fixed: vendor fix RHSA-2017:1390
-
Red Hat Enterprise Linux Workstation (v. 6) samba 3.6.23-43.el6_9, samba4 4.2.10-10.el6_9, samba4-dc 4.2.10-10.el6_9, samba4-libs 4.2.10-10.el6_9, samba4-pidl 4.2.10-10.el6_9, samba4-test 4.2.10-10.el6_9, +12 more Red Hat Enterprise Linux Workstation (v. 7) samba 4.4.4-14.el7_3, samba-libs 4.4.4-14.el7_3, libwbclient 4.4.4-14.el7_3, libsmbclient 4.4.4-14.el7_3, samba-client 4.4.4-14.el7_3, samba-common 4.4.4-14.el7_3, +8 more Red Hat Enterprise Linux Workstation Optional (v. 6) samba-swat 3.6.23-43.el6_9, samba-glusterfs 3.6.23-43.el6_9, samba-domainjoin-gui 3.6.23-43.el6_9, samba-winbind-krb5-locator 3.6.23-43.el6_9 Red Hat Enterprise Linux Workstation Optional (v. 7) samba-dc 4.4.4-14.el7_3, samba-pidl 4.4.4-14.el7_3, samba-test 4.4.4-14.el7_3, samba-dc-libs 4.4.4-14.el7_3, samba-test-libs 4.4.4-14.el7_3, samba-vfs-glusterfs 4.4.4-14.el7_3, +1 morefixed: vendor fix RHSA-2017:1270
-
Red Hat Gluster 3.2 Samba on RHEL-6 ctdb 4.4.6-5.el6rhs, samba 4.4.6-5.el6rhs, samba-dc 4.4.6-5.el6rhs, ctdb-tests 4.4.6-5.el6rhs, samba-libs 4.4.6-5.el6rhs, samba-pidl 4.4.6-5.el6rhs, +17 morefixed: vendor fix RHSA-2017:1273
1 more fixed, 1 more not affected in the full advisory
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
cisa ICSA-17-180-02 updated cvss 10.0
Schneider Electric U.motion Builder (Update A)
-
Schneider Electric Software, LLC U.motion Builder <= 1.2.1affected: vendor fix, mitigation “Schneider Electric's security notice SEVD-2017-178-01 is available” schneider-electric.com
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
Timeline
- First public exploit (Metasploit exploit/linux/samba/is_known_pipename)
- Published
- Added to CISA KEV
- CISA patch deadline
- CISA SSVC: exploitation active
Known exploited
- Added
- 3 y ago
- Patch by
- 2023-04-20 (3 y ago)
- Ransomware
- Known to be used in ransomware campaigns
- Required action
- Apply updates per vendor instructions.
- Vendor, product
- Samba, Samba
- CISA name
- Samba Remote Code Execution Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- yes
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
99.45% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/linux/samba/is_known_pipename Samba is_known_pipename() Arbitrary Module Load metasploit exploit, excellent rank, 2017-03-24
- EDB-42084 Samba 3.5.0 < 4.4.14/4.5.10/4.6.4 - 'is_known_pipename()' Arbitrary Module Load (Metasploit) remote, 2017-05-29
- EDB-42060 Samba 3.5.0 - Remote Code Execution remote, 2017-05-24
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- Samba samba
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
samba.org
/samba/security/CVE-2017-7494.html
patch, vendor-advisory
-
exploit-db.com
/exploits/42084/
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/42060/
exploit, third-party-advisory, vdb-entry
-
debian.org
/security/2017/dsa-3860
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:1270
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:1390
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:1273
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:1271
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201805-07
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:1272
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/98636
vdb-entry, third-party-advisory
-
download.schneider-electric.com
/files?p_enDocType=Technical+leaflet&p_File_Name=SEVD-2018-095-01+Security+Notification+Umotion+V1.1.pdf&p_Doc
third-party-advisory
-
securitytracker.com
/id/1038552
vdb-entry, third-party-advisory
-
h20566.www2.hpe.com
/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03759en_us
third-party-advisory
-
security.netapp.com
/advisory/ntap-20170524-0001/
third-party-advisory
-
h20566.www2.hpe.com
/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03755en_us
third-party-advisory
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-7494
government-resource, us-government-resource
Sources
- CVE List CVE-2017-7494
- NVD CVE-2017-7494
Fencer Intel 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.