samba: Combination of parameters and permissions can allow user to escape from the share path definition
Published Sep 3, 2019
9.1
CRITICALCVSS 3.0
EPSS 3.18%
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.
Affected products
-
- Version samba 4.10.x up to 4.10.8StatusaffectedConstraints-
- Version samba 4.11.x up to 4.11.0rc3StatusaffectedConstraints-
- Version samba 4.9.x up to 4.9.13StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
Configuration 1
- ≥ 4.9.0 · ≤ 4.9.13
- ≥ 4.10.0 · ≤ 4.10.8
- 4.9.0
- 4.9.0
- 4.9.0
- 4.9.0
- 4.9.0
- 4.10.0
- 4.10.0
- 4.10.0
- 4.10.0
- 4.11.0
- 4.11.0
- 4.11.0
- 4.11.0
Configuration 2
- 19.04
- 10.0
No data.
Red Hat Enterprise Linux 7
samba-0:4.10.4-10.el7
Fixed · RHSA-2020:1084
Red Hat Enterprise Linux 8
openchange-0:2.3-24.el8
Fixed · RHSA-2020:1878
Red Hat Enterprise Linux 8
openchange-0:2.3-24.el8
Fixed · RHSA-2020:1878
Red Hat Enterprise Linux 8
samba-0:4.11.2-13.el8
Fixed · RHSA-2020:1878
Red Hat Enterprise Linux 8
samba-0:4.11.2-13.el8
Fixed · RHSA-2020:1878
Red Hat Gluster Storage 3.5 for RHEL 6
samba-0:4.9.8-110.el6rhs
Fixed · RHSA-2019:4023
Red Hat Gluster Storage 3.5 for RHEL 7
samba-0:4.9.8-109.el7rhgs
Fixed · RHSA-2019:3253
Red Hat Enterprise Linux 6
samba
Not affected
Red Hat Enterprise Linux 6
samba4
Not affected
Red Hat Virtualization 4
redhat-virtualization-host
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | samba-0:4.10.4-10.el7 | Fixed | RHSA-2020:1084 |
| Red Hat Enterprise Linux 8 | openchange-0:2.3-24.el8 | Fixed | RHSA-2020:1878 |
| Red Hat Enterprise Linux 8 | openchange-0:2.3-24.el8 | Fixed | RHSA-2020:1878 |
| Red Hat Enterprise Linux 8 | samba-0:4.11.2-13.el8 | Fixed | RHSA-2020:1878 |
| Red Hat Enterprise Linux 8 | samba-0:4.11.2-13.el8 | Fixed | RHSA-2020:1878 |
| Red Hat Gluster Storage 3.5 for RHEL 6 | samba-0:4.9.8-110.el6rhs | Fixed | RHSA-2019:4023 |
| Red Hat Gluster Storage 3.5 for RHEL 7 | samba-0:4.9.8-109.el7rhgs | Fixed | RHSA-2019:3253 |
| Red Hat Enterprise Linux 6 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 6 | samba4 | Not affected | n/a |
| Red Hat Virtualization 4 | redhat-virtualization-host | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
AV:N/AC:L/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.18% (0.03182) | 87.62th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.18% (0.03182) | 86.37th | v5 (v2026.06.15) |
| Mar 30, 2025 | 4.79% (0.04790) | 88.46th | v4 (v2025.03.14) |
| Mar 29, 2025 | 12.08% (0.12083) | 89.64th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.18% (0.05176) | 89.17th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.47% (0.00472) | 76.46th | v3 (v2023.03.01) |
| Apr 2, 2024 | 0.57% (0.00573) | 77.51th | v3 (v2023.03.01) |
| Dec 28, 2023 | 0.57% (0.00573) | 75.51th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.58% (0.00581) | 75.33th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.44% (0.00444) | 70.91th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 24.56% (0.24563) | 95.26th | v2 (v2022.01.01) |
| Feb 3, 2022 | 13.21% (0.13208) | 89.07th | v1 |
| Jan 6, 2022 | 13.21% (0.13208) | 88.94th | v1 |
| Jan 5, 2022 | 3.28% (0.03281) | 82.11th | v5 (v2026.06.15) |
| Apr 14, 2021 | 3.28% (0.03281) | 0.00th | v1 |
References (19)
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00045.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/errata/RHSA-2019:3253 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:4023 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2019-10197 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1746225 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10197 x_refsource_CONFIRMIssue TrackingMitigationThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/56ZUXHGDHPM7S6RVAKULZT5EATS37OKA/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M7NYIUZOCIDXWXGWMZ7O5Z7OJ6IX7EAB/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z6EEKFT24DQI4DMZMSQTLMNZWG4RMZ57/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-10197
- https://seclists.org/bugtraq/2019/Sep/4 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202003-52 vendor-advisoryx_refsource_GENTOO
- https://security.netapp.com/advisory/ntap-20190903-0001/ x_refsource_CONFIRMThird Party Advisory
- https://support.f5.com/csp/article/K69511801 x_refsource_CONFIRM
- https://support.f5.com/csp/article/K69511801?utm_source=f5support&%3Butm_medium=RSS x_refsource_CONFIRM
- https://usn.ubuntu.com/4121-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-10197
- https://www.debian.org/security/2019/dsa-4513 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.samba.org/samba/security/CVE-2019-10197.html x_refsource_MISCVendor Advisory
Change history (0)
No recorded changes yet.