cve.bz

CVE-2017-2619 Link Following

7.5 highExploitEPSS 11%

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

On this page
Samba before versions 4.6.1, 4.5.7 and 4.4.11 are vulnerable to a malicious client using a symlink race to allow access to areas of the server file system not exported under the share definition.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
11% (unchanged from 11% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
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-2619 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-2619?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-2619?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-2619 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.12
samba:sambafrom 4.5.0 before 4.5.7
samba:sambafrom 4.6.0 before 4.6.1
debian:debian_linux8.0
redhat:enterprise_linux6.0
redhat:enterprise_linux7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7samba2:3.6.6-6+deb7u12DLA-894-1
Debian8samba2:4.2.14+dfsg-0+deb8u4DSA-3816-1
Debian12, 13, 14samba2:4.5.6+dfsg-2DEBIAN-CVE-2017-2619
Ubuntu14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.6UBUNTU-CVE-2017-2619 USN-3242-1
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.5UBUNTU-CVE-2017-2619 USN-3242-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moresamba, samba-doc, samba-swat and 11 more0:3.6.23-45.el6_9RHSA-2017:2789
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 22 more0:4.4.4-13.el7_3RHSA-2017:1265
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 24 more0:4.4.4-13.el7_3RHSA-2017:1265
Red Hatstorage:3.2:samba:el7ctdb, samba, samba-dc and 24 more0:4.6.3-4.el7rhgsRHSA-2017:2338
Red Hatstorage:3.3:samba:el6ctdb, samba, samba-dc and 24 more0:4.6.3-5.el6rhsRHSA-2017:2778
Red Hatstorage:3.3:samba:el6libtdb, tdb-tools, python-tdb and 2 more0:1.3.12-1.1.el6rhsRHSA-2017:2778
Red Hatstorage:3.3:samba:el6libtevent, python-tevent, libtevent-devel and 1 more0:0.9.31-1.el6rhsRHSA-2017:2778
Red Hatstorage:3.3:samba:el6pyldb, libldb, ldb-tools and 3 more0:1.1.29-1.el6rhsRHSA-2017:2778
Red Hatstorage:3.3:samba:el6pytalloc, libtalloc, pytalloc-devel and 2 more0:2.1.9-1.el6rhsRHSA-2017:2778
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP1 and 7 moresamba4.2.4-28.11.1SUSE-RU-2017:1218-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP1 and 7 moresamba4.2.4-28.8.2SUSE-SU-2017:0859-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2 and 3 moresamba4.4.2-36.2SUSE-SU-2017:0858-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2 and 3 moresamba4.4.2-38.3.1SUSE-RU-2017:1219-1
SUSELinux Enterprise High Availability Extension 12, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12samba4.2.4-18.35.1SUSE-SU-2017:0862-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 3 moresamba, samba-doc3.6.3-90.1SUSE-SU-2017:1216-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4samba, samba-doc3.6.3-87.1SUSE-SU-2017:0841-1
SUSELinux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12samba4.2.4-18.38.1SUSE-RU-2017:1217-1
SUSELinux Enterprise Software Development Kit 11 SP4samba3.6.3-87.1SUSE-SU-2017:0841-1
SUSELinux Enterprise Software Development Kit 11 SP4samba3.6.3-90.1SUSE-SU-2017:1216-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.2, v3.3samba4.2.14-r2ALPINE-CVE-2017-2619
Alpinev3.4samba4.4.5-r3ALPINE-CVE-2017-2619
Alpinev3.5samba4.5.7-r0ALPINE-CVE-2017-2619
Alpinev3.6, v3.7, v3.8 and 16 moresamba4.6.1-r0ALPINE-CVE-2017-2619

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 mitigation

Add the parameter:

unix extensions = no

to the [global] section of your smb.conf and restart smbd. This prevents SMB1 clients from creating symlinks on the exported file system using SMB1.

However, if the same region of the file system is also exported using NFS, NFS clients can create symlinks that potentially can also hit the race condition. For non-patched versions of Samba we recommend only exporting areas of the file system by either SMB or NFS, not both.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6samba-0:3.6.23-45.el6_9Fixed 2017-09-21RHSA-2017:2789
Red Hat Enterprise Linux 7samba-0:4.4.4-13.el7_3Fixed 2017-05-22RHSA-2017:1265
Red Hat Gluster Storage 3.2 for RHEL 7samba-0:4.6.3-4.el7rhgsFixed 2017-08-01RHSA-2017:2338
Red Hat Gluster Storage 3.3 for RHEL 6libldb-0:1.1.29-1.el6rhsFixed 2017-09-21RHSA-2017:2778
Red Hat Gluster Storage 3.3 for RHEL 6libtalloc-0:2.1.9-1.el6rhsFixed 2017-09-21RHSA-2017:2778
Red Hat Gluster Storage 3.3 for RHEL 6libtdb-0:1.3.12-1.1.el6rhsFixed 2017-09-21RHSA-2017:2778
Red Hat Gluster Storage 3.3 for RHEL 6libtevent-0:0.9.31-1.el6rhsFixed 2017-09-21RHSA-2017:2778
Red Hat Gluster Storage 3.3 for RHEL 6samba-0:4.6.3-5.el6rhsFixed 2017-09-21RHSA-2017:2778
Red Hat Enterprise Linux 5sambaWill not fix
Red Hat Enterprise Linux 5samba3xWill not fix
Red Hat Enterprise Linux 6samba4Affected

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-2619.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

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

References

Check your stackJSON