CVEfocus › CVE database › CVE-2019-10218

CVE-2019-10218

CVSS 5.3 MediumEPSS 3.4% (higher than 89% of CVEs)Published 2019-11-06Updated 2024-08-04Assigner: redhat

A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the privileges of the client user.

CWE-22

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

73Fixed
1Fix pending
15Will not fix
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04sambaFixed2:4.7.6+dfsg~ubuntu-0ubuntu2.13UBUNTU-CVE-2019-10218
Ubuntu 16.04sambaFixed2:4.3.11+dfsg-0ubuntu0.16.04.23UBUNTU-CVE-2019-10218
Ubuntu 14.04sambaFix pending2:4.3.11+dfsg-0ubuntu0.14.04.20+esm3 (Ubuntu Pro)UBUNTU-CVE-2019-10218
Debian 14sambaFixed2:4.11.1+dfsg-2DEBIAN-CVE-2019-10218
Debian 13sambaFixed2:4.11.1+dfsg-2DEBIAN-CVE-2019-10218
Debian 12sambaFixed2:4.11.1+dfsg-2DEBIAN-CVE-2019-10218
Red Hat Enterprise Linux 8ctdbFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8ctdb-testsFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8libsmbclientFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8libsmbclient-develFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8libwbclientFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8libwbclient-develFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8openchangeFixed0:2.3-24.el8RHSA-2020:1878
Red Hat Enterprise Linux 8python3-sambaFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8python3-samba-testFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8sambaFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-clientFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-client-libsFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-commonFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-common-libsFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-common-toolsFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-krb5-printingFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-libsFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-pidlFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-testFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-test-libsFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-winbindFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-winbind-clientsFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-winbind-krb5-locatorFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 8samba-winbind-modulesFixed0:4.11.2-13.el8RHSA-2020:1878
Red Hat Enterprise Linux 7ctdbFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7ctdb-testsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7libsmbclientFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7libsmbclient-develFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7libwbclientFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7libwbclient-develFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7sambaFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-clientFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-client-libsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-commonFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-common-libsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-common-toolsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-dcFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-dc-libsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-develFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-krb5-printingFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-libsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-pidlFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-pythonFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-python-testFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-testFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-test-libsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-vfs-glusterfsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-winbindFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-winbind-clientsFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-winbind-krb5-locatorFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 7samba-winbind-modulesFixed0:4.10.4-10.el7RHSA-2020:1084
Red Hat Enterprise Linux 6libsmbclientWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsmbclient-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6sambaWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-domainjoin-guiWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-glusterfsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-swatWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbindWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba-winbind-krb5-locatorWill not fix
Out of support scope
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 6samba4-clientNot affected
Red Hat Enterprise Linux 6samba4-commonNot affected
Red Hat Enterprise Linux 6samba4-dcNot affected
Red Hat Enterprise Linux 6samba4-dc-libsNot affected
Red Hat Enterprise Linux 6samba4-develNot affected
Red Hat Enterprise Linux 6samba4-libsNot affected
Red Hat Enterprise Linux 6samba4-pidlNot affected
Red Hat Enterprise Linux 6samba4-pythonNot affected
Red Hat Enterprise Linux 6samba4-swatNot affected
Red Hat Enterprise Linux 6samba4-testNot affected
Red Hat Enterprise Linux 6samba4-winbindNot affected
Red Hat Enterprise Linux 6samba4-winbind-clientsNot affected
Red Hat Enterprise Linux 6samba4-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 5sambaWill not fix
Out of support scope
Red Hat Enterprise Linux 5samba3xWill not fix
Out of support scope
Alpine Linux 3.24sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.23sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.22sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.21sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.20sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.19sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.18sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.17sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.16sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.15sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.14sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.13sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.12sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.11sambaFixed4.11.2-r0ALPINE-CVE-2019-10218
Alpine Linux 3.10sambaFixed4.10.10-r0ALPINE-CVE-2019-10218
Alpine Linux 3.9sambaFixed4.8.12-r1ALPINE-CVE-2019-10218
Alpine Linux 3.8sambaFixed4.8.12-r1ALPINE-CVE-2019-10218

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.