CVE-2019-10197 Path traversal in samba
An unauthenticated attacker can escape shared directories to access files outside the share when specific Samba configuration parameters are set.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-10197?
CVE-2019-10197 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 3 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2019-10197?
It affects 3 products.
Linux distribution packages (40)
ctdb Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
libsmbclient Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
libsmbclient-devel Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
libwbclient Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
libwbclient-devel Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-client Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-client-libs Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-common Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-common-libs Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-common-tools Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-dc Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-dc-libs Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-debuginfo Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-devel Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-krb5-printing Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-libs Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-pidl Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-python Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-vfs-glusterfs Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-winbind Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-winbind-clients Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-winbind-krb5-locator Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
samba-winbind-modules Red Hat:storage:3.5:samba:el6 | All versions | 0:4.9.8-110.el6rhs |
ctdb Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
libsmbclient Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
libsmbclient-devel Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
libwbclient Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
libwbclient-devel Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-client Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-client-libs Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-common Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-common-libs Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-common-tools Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-dc Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-dc-libs Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-debuginfo Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-devel Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
samba-krb5-printing Red Hat:storage:3.5:samba:el7 | All versions | 0:4.9.8-109.el7rhgs |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Samba Samba.
How do I fix CVE-2019-10197?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-10197 being exploited?
There is no known exploitation of CVE-2019-10197 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2019-10197, DEBIAN-CVE-2019-10197, DSA-4513-1, ECHO-4545-1dc9-faf5, GHSA-v6g6-jxr8-2r44, RHSA-2019:3253 and 2 more.