Path traversal in samba
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 13 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Samba | samba | all samba versions before samba 4.11.2, 4.10.10 and 4.9.15 | — | No fix listed | CNA |
- samba VendorSamba Affected all samba versions before samba 4.11.2, 4.10.10 and 4.9.15 Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | before 4.9.15; 4.10.0 to before 4.10.10; 4.11.0 to before 4.11.2 | Vulnerable | Samba |
| cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 29 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions before 4.9.15; 4.10.0 to before 4.10.10; 4.11.0 to before 4.11.2 Vulnerable ·Samba
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
Remediation
Red Hat 3 advisories
- RHSA-2020:1878 Released 2020-04-28 · Red Hat rating Moderatesamba security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) libsmbclient-devel-4.11.2-13.el8, libwbclient-devel-4.11.2-13.el8
- Red Hat Enterprise Linux AppStream (v. 8) openchange-2.3-24.el8
- Red Hat Enterprise Linux BaseOS (v. 8) ctdb-4.11.2-13.el8, ctdb-tests-4.11.2-13.el8, libsmbclient-4.11.2-13.el8 +18
- RHSA-2020:1084 Released 2020-03-31 · Red Hat rating Moderatesamba security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) libsmbclient-4.10.4-10.el7, libwbclient-4.10.4-10.el7, samba-4.10.4-10.el7 +10
- Red Hat Enterprise Linux Client Optional (v. 7) libsmbclient-devel-4.10.4-10.el7, libwbclient-devel-4.10.4-10.el7, samba-4.10.4-10.el7 +10
- Red Hat Enterprise Linux ComputeNode (v. 7) libsmbclient-4.10.4-10.el7, libwbclient-4.10.4-10.el7, samba-4.10.4-10.el7 +9
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libsmbclient-devel-4.10.4-10.el7, libwbclient-devel-4.10.4-10.el7, samba-4.10.4-10.el7 +11
- Red Hat Enterprise Linux Server (v. 7) libsmbclient-4.10.4-10.el7, libsmbclient-4.10.4-10.el7.ppc, libwbclient-4.10.4-10.el7 +16
- Red Hat Enterprise Linux Server Optional (v. 7) libsmbclient-devel-4.10.4-10.el7, libsmbclient-devel-4.10.4-10.el7.ppc, libwbclient-devel-4.10.4-10.el7 +14
- Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb-4.10.4-10.el7, ctdb-tests-4.10.4-10.el7
- Red Hat Enterprise Linux Workstation (v. 7) libsmbclient-4.10.4-10.el7, libwbclient-4.10.4-10.el7, samba-4.10.4-10.el7 +11
- Red Hat Enterprise Linux Workstation Optional (v. 7) libsmbclient-devel-4.10.4-10.el7, libwbclient-devel-4.10.4-10.el7, samba-dc-4.10.4-10.el7 +8
- RHSA-2020:0943 Released 2020-03-23 · Red Hat rating Moderatesamba security and bug fix update
- Red Hat Gluster 3.5 Samba on RHEL-7 ctdb-4.11.6-104.el7rhgs, libsmbclient-4.11.6-104.el7rhgs, libsmbclient-devel-4.11.6-104.el7rhgs +29
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
samba — openSUSE-SU-2019:2458
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2019-11038 Authentication bypass in sambaPriority LOW 28
- TI-2019-11052 NULL pointer dereference in sambaPriority LOW 27
- Advisory ·
samba — FEDORA-2019-703e299870
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2019-11038 Authentication bypass in sambaPriority LOW 28
- TI-2019-11052 NULL pointer dereference in sambaPriority LOW 27
Show 2 more groups
- Advisory ·
samba — FEDORA-2019-460ad648e7
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2019-11038 Authentication bypass in sambaPriority LOW 28
- TI-2019-11052 NULL pointer dereference in sambaPriority LOW 27
- Advisory ·
samba — FEDORA-2019-57d43f3b58
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2019-11038 Authentication bypass in sambaPriority LOW 28
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Virtualization 4 | Affected | No fix planned: Will not fix |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2020:1878 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:1878 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2020:1878 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux Server Resilient Storage (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2020:1084 |
| Red Hat Gluster 3.5 Samba on RHEL-7 | Fixed | RHSA-2020:0943 |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2019-10218
- 2026-10-03 Alias added: GHSA-mjrv-7h6w-94x4
References
Advisory 6
More Samba vulnerabilities
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2017-05139 Code injection in samba KEVCVSS 3.1CRITICAL 9.8
- TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
- TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
- TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
- TI-2007-02362 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… CVSS 2.0HIGH 10.0
Sources
- CVE-2019-10218 · CVE Program
- CVE-2019-10218 · NVD
- FIRST EPSS
- GHSA-mjrv-7h6w-94x4 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-10218 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences