cve.bz

CVE-2019-10197 Path traversal

9.1 criticalEPSS 3.2%

Critical (9.1). EPSS 3.2% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in samba versions 4.9.x up to 4.9.13, samba 4.10.x up to 4.10.8 and samba 4.11.x up to 4.11.0rc3, when certain parameters were set in the samba configuration file. An unauthenticated attacker could use this flaw to escape the shared directory and access the contents of directories outside the share.

Severity

CVSS 3.0

9.1 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
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-2019-10197 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-10197?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-10197?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-2019-10197 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:sambafrom 4.9.0 through 4.9.13
samba:sambafrom 4.10.0 through 4.10.8
samba:samba4.9.0:rc1
samba:samba4.9.0:rc2
samba:samba4.9.0:rc3
samba:samba4.9.0:rc4
samba:samba4.9.0:rc5
samba:samba4.10.0:rc1
samba:samba4.10.0:rc2
samba:samba4.10.0:rc3
samba:samba4.10.0:rc4
samba:samba4.11.0
samba:samba4.11.0:rc1
samba:samba4.11.0:rc2
samba:samba4.11.0:rc3
canonical:ubuntu_linux19.04
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10samba2:4.9.5+dfsg-5+deb10u1DSA-4513-1
Debian12, 13, 14samba2:4.9.13+dfsg-1DEBIAN-CVE-2019-10197
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 23 more0:4.10.4-10.el7RHSA-2020:1084
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 25 more0:4.10.4-10.el7RHSA-2020:1084
Red Hatenterprise_linux:8::appstreamopenchange, openchange-debuginfo, openchange-debugsource and 1 more0:2.3-24.el8RHSA-2020:1878
Red Hatenterprise_linux:8::baseosctdb, samba, ctdb-tests and 38 more0:4.11.2-13.el8RHSA-2020:1878
Red Hatenterprise_linux:8::crbctdb-debuginfo, samba-debuginfo, libwbclient-devel and 19 more0:4.11.2-13.el8RHSA-2020:1878
Red Hatstorage:3.5:samba:el6ctdb, samba, samba-dc and 21 more0:4.9.8-110.el6rhsRHSA-2019:4023
Red Hatstorage:3.5:samba:el7ctdb, samba, samba-dc and 21 more0:4.9.8-109.el7rhgsRHSA-2019:3253
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.10.17+git.203.862547088ca-3.14.1SUSE-SU-2020:2673-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5ldb1.5.8-3.5.1SUSE-SU-2020:2673-1
openSUSELeap 15.1samba4.9.5+git.187.71edee57d5a-lp151.2.6.1openSUSE-SU-2019:2142-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.10, v3.11, v3.12 and 12 moresamba4.10.8-r0ALPINE-CVE-2019-10197

From the distributions' data via OSV.dev: the Debian Security Tracker; 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 · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Only samba configurations where 'wide links' option is explicitly set to 'yes' is affected by this flaw. Therefore default configurations of samba package shipped with Red Hat Products are not affected.

This vulnerability exists in the samba server, client side packages are not affected.

Red Hat's mitigation

The following methods can be used as a mitigation (only one is needed):

1. Use the 'sharesec' tool to configure a security descriptor for the share that's at least as strict as the permissions on the share root directory.

2. Use the 'valid users' option to allow only users/groups which are able to enter the share root directory.

3. Remove 'wide links = yes' if it's not really needed.

4. In some situations it might be an option to use 'chmod a+x' on the share root directory, but you need to make sure that files and subdirectories are protected by stricter permissions. You may also want to 'chmod a-w' in order to prevent new top level files and directories, which may have less restrictive permissions.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7samba-0:4.10.4-10.el7Fixed 2020-03-31RHSA-2020:1084
Red Hat Enterprise Linux 8openchange-0:2.3-24.el8Fixed 2020-04-28RHSA-2020:1878
Red Hat Enterprise Linux 8samba-0:4.11.2-13.el8Fixed 2020-04-28RHSA-2020:1878
Red Hat Gluster Storage 3.5 for RHEL 6samba-0:4.9.8-110.el6rhsFixed 2019-12-02RHSA-2019:4023
Red Hat Gluster Storage 3.5 for RHEL 7samba-0:4.9.8-109.el7rhgsFixed 2019-10-30RHSA-2019:3253
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Virtualization 4redhat-virtualization-hostNot 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-2019-10197.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

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

References

Check your stackJSON