CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HKnown as SambaCry
Critical (9.8) in Samba Samba. In CISA KEV since 2023-03-30, with known ransomware use. EPSS 99.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2017-7494 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-7494?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-7494?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-7494 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| samba:samba | from 3.5.0 before 4.4.0 |
| samba:samba | from 4.4.0 before 4.4.14 |
| samba:samba | from 4.5.0 before 4.5.10 |
| samba:samba | from 4.6.0 before 4.6.4 |
| debian:debian_linux | 8.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 7 | samba | 2:3.6.6-6+deb7u13 | DLA-951-1 |
| Debian | 8 | samba | 2:4.2.14+dfsg-0+deb8u6 | DSA-3860-1 |
| Debian | 12, 13, 14 | samba | 2:4.5.8+dfsg-2 | DEBIAN-CVE-2017-7494 |
| Ubuntu | 14.04:LTS | samba | 2:4.3.11+dfsg-0ubuntu0.14.04.8 | UBUNTU-CVE-2017-7494 USN-3296-1 |
| Ubuntu | 16.04:LTS | samba | 2:4.3.11+dfsg-0ubuntu0.16.04.7 | UBUNTU-CVE-2017-7494 USN-3296-1 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | samba, samba-doc, samba-swat and 11 more | 0:3.6.23-43.el6_9 | RHSA-2017:1270 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | samba4, samba4-dc, samba4-libs and 11 more | 0:4.2.10-10.el6_9 | RHSA-2017:1271 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstation | samba, samba-dc, samba-libs and 22 more | 0:4.4.4-14.el7_3 | RHSA-2017:1270 |
| Red Hat | enterprise_linux:7::server | ctdb, samba, samba-dc and 24 more | 0:4.4.4-14.el7_3 | RHSA-2017:1270 |
| Red Hat | rhel_aus:6.4::server | samba, samba-doc, samba-swat and 10 more | 0:3.6.23-32.el6_4 | RHSA-2017:1390 |
| Red Hat | rhel_aus:6.5::server, rhel_tus:6.5::server | samba, samba-doc, samba-swat and 10 more | 0:3.6.23-32.el6_5 | RHSA-2017:1390 |
| Red Hat | rhel_aus:6.6::server, rhel_tus:6.6::server | samba, samba-doc, samba-swat and 10 more | 0:3.6.23-32.el6_6 | RHSA-2017:1390 |
| Red Hat | rhel_els:5 | samba3x, samba3x-doc, samba3x-swat and 6 more | 0:3.6.23-14.el5_11 | RHSA-2017:1272 |
| Red Hat | rhel_eus:6.7::computenode, rhel_eus:6.7::server | samba, samba-doc, samba-swat and 11 more | 0:3.6.23-32.el6_7 | RHSA-2017:1390 |
| Red Hat | rhel_eus:7.1::server | ctdb, ctdb-devel, ctdb-tests and 1 more | 0:4.2.10-11.el7_2 | RHSA-2017:1390 |
| Red Hat | rhel_eus:7.2::computenode, rhel_eus:7.2::server | samba, samba-dc, samba-libs and 22 more | 0:4.2.10-11.el7_2 | RHSA-2017:1390 |
| Red Hat | rhel_mission_critical:6.2::server | samba, samba-doc, samba-swat and 10 more | 0:3.6.23-32.el6_2 | RHSA-2017:1390 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP1 and 7 more | samba | 4.2.4-28.14.1 | SUSE-SU-2017:1392-1 |
| SUSE | Linux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2 and 3 more | samba | 4.4.2-38.6.1 | SUSE-SU-2017:1393-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 2 more | samba, samba-doc | 3.6.3-93.1 | SUSE-SU-2017:1391-1 |
| SUSE | Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 | samba | 4.2.4-18.41.1 | SUSE-SU-2017:1396-1 |
| SUSE | Linux Enterprise Software Development Kit 11 SP4 | samba | 3.6.3-93.1 | SUSE-SU-2017:1391-1 |
| openSUSE | Tumbleweed | samba | 4.14.6+git.182.2205d5224e3-1.1 | openSUSE-SU-2024:11365-1 |
| Alpine | v3.3 | samba | 4.2.14-r3 | ALPINE-CVE-2017-7494 |
| Alpine | v3.4 | samba | 4.4.14-r0 | ALPINE-CVE-2017-7494 |
| Azure Linux | 3 | samba | no fix listed | AZL-110360 |
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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
This vulnerability exists in the samba server, client side packages are not affected.
Any of the following:
1. SELinux is enabled by default and our default policy prevents loading of modules from outside of samba's module directories and therefore blocks the exploit
2. Mount the filesystem which is used by samba for its writable share using "noexec" option.
3. Add the parameter:
nt pipe support = no
to the [global] section of your smb.conf and restart smbd. This prevents clients from accessing any named pipe endpoints. Note this can disable some expected functionality for Windows clients.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 Extended Lifecycle Support | samba3x-0:3.6.23-14.el5_11 | Fixed 2017-05-24 | RHSA-2017:1272 |
| Red Hat Enterprise Linux 6 | samba-0:3.6.23-43.el6_9 | Fixed 2017-05-24 | RHSA-2017:1270 |
| Red Hat Enterprise Linux 6 | samba4-0:4.2.10-10.el6_9 | Fixed 2017-05-24 | RHSA-2017:1271 |
| Red Hat Enterprise Linux 6.2 Advanced Update Support | samba-0:3.6.23-32.el6_2 | Fixed 2017-06-05 | RHSA-2017:1390 |
| Red Hat Enterprise Linux 6.4 Advanced Update Support | samba-0:3.6.23-32.el6_4 | Fixed 2017-06-05 | RHSA-2017:1390 |
| Red Hat Enterprise Linux 6.5 Advanced Update Support | samba-0:3.6.23-32.el6_5 | Fixed 2017-06-05 | RHSA-2017:1390 |
| Red Hat Enterprise Linux 6.5 Telco Extended Update Support | samba-0:3.6.23-32.el6_5 | Fixed 2017-06-05 | RHSA-2017:1390 |
| Red Hat Enterprise Linux 6.6 Advanced Update Support | samba-0:3.6.23-32.el6_6 | Fixed 2017-06-05 | RHSA-2017:1390 |
| Red Hat Enterprise Linux 6.6 Telco Extended Update Support | samba-0:3.6.23-32.el6_6 | Fixed 2017-06-05 | RHSA-2017:1390 |
| Red Hat Enterprise Linux 6.7 Extended Update Support | samba-0:3.6.23-32.el6_7 | Fixed 2017-06-05 | RHSA-2017:1390 |
| Red Hat Enterprise Linux 7 | samba-0:4.4.4-14.el7_3 | Fixed 2017-05-24 | RHSA-2017:1270 |
| Red Hat Enterprise Linux 7.2 Extended Update Support | samba-0:4.2.10-11.el7_2 | Fixed 2017-06-05 | RHSA-2017:1390 |
| Red Hat Gluster Storage 3.2 for RHEL 6 | samba-0:4.4.6-5.el6rhs | Fixed 2017-05-24 | RHSA-2017:1273 |
| Red Hat Gluster Storage 3.2 for RHEL 7 | samba-0:4.4.6-5.el7rhgs | Fixed 2017-05-24 | RHSA-2017:1273 |
| Red Hat Enterprise Linux 5 | samba | Not affected |
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-7494.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-17-180-02 | Schneider Electric U.motion Builder (Update A) | 2017-06-29 | Commercial Facilities, Critical Manufacturing, and Energy | U.motion Builder: Versions 1.2.1 and prior | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.