CVSS 3.1
4.3 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NMedium (4.3). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NExplain CVE-2020-14318 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-14318?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-14318?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-2020-14318 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| samba:samba | from 3.6.0 before 4.11.15 |
| samba:samba | from 4.12.0 before 4.12.9 |
| samba:samba | from 4.13.0 before 4.13.1 |
| redhat:storage | 3.0 |
| redhat:enterprise_linux | 7.0 |
| redhat:enterprise_linux | 8.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | samba | 2:4.5.16+dfsg-1+deb9u3 | DLA-2463-1 |
| Debian | 10 | samba | 2:4.9.5+dfsg-5+deb10u5 | DLA-3792-1 |
| Debian | 12, 13, 14 | samba | 2:4.13.2+dfsg-2 | DEBIAN-CVE-2020-14318 |
| Ubuntu | 16.04:LTS | samba | 2:4.3.11+dfsg-0ubuntu0.16.04.32 | UBUNTU-CVE-2020-14318 USN-4611-1 |
| Ubuntu | 18.04:LTS | samba | 2:4.7.6+dfsg~ubuntu-0ubuntu2.21 | UBUNTU-CVE-2020-14318 USN-4611-1 |
| Ubuntu | 20.04:LTS | samba | 2:4.11.6+dfsg-0ubuntu1.6 | UBUNTU-CVE-2020-14318 USN-4611-1 |
| Ubuntu | Pro:14.04:LTS | samba | 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm11 | UBUNTU-CVE-2020-14318 USN-4931-1 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::workstation | samba, samba-dc, samba-libs and 23 more | 0:4.10.16-9.el7_9 | RHSA-2020:5439 |
| Red Hat | enterprise_linux:7::computenode | samba, samba-dc, samba-pidl and 12 more | 0:4.10.16-9.el7_9 | RHSA-2020:5439 |
| Red Hat | enterprise_linux:7::server | ctdb, samba, samba-dc and 25 more | 0:4.10.16-9.el7_9 | RHSA-2020:5439 |
| Red Hat | enterprise_linux:8::appstream | openchange, openchange-debuginfo, openchange-debugsource and 1 more | 0:2.3-27.el8 | RHSA-2021:1647 |
| Red Hat | enterprise_linux:8::baseos | ctdb, samba, ctdb-tests and 40 more | 0:4.13.3-3.el8 | RHSA-2021:1647 |
| Red Hat | enterprise_linux:8::crb | samba-devel, ctdb-debuginfo, samba-debuginfo and 21 more | 0:4.13.3-3.el8 | RHSA-2021:1647 |
| Red Hat | storage:3.5:samba:el7 | ctdb, samba, samba-libs and 19 more | 0:4.11.6-112.el7rhgs | RHSA-2021:3723 |
| Red Hat | storage:3.5:samba:el8 | ctdb, samba, samba-libs and 39 more | 0:4.13.7-101.el8rhgs | RHBA-2021:1503 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise High Availability Extension 12 SP3 and 10 more | samba | 4.6.16+git.248.c833312e640-3.58.1 | SUSE-SU-2020:3093-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise Module for Basesystem 15 SP1 and 1 more | samba | 4.9.5+git.383.7b7f8f14df8-3.47.1 | SUSE-SU-2020:3092-1 |
| SUSE | Enterprise Storage 7 | samba | 4.13.3+git.181.fc4672a5b81-3.3.1 | SUSE-SU-2021:0185-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 more | samba | 4.4.2-38.39.1 | SUSE-SU-2020:3083-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 more | samba | 4.10.18+git.219.1d732314d96-3.20.1 | SUSE-SU-2020:3082-1 |
| SUSE | Linux Enterprise High Availability Extension 15, Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS and 2 more | samba | 4.7.11+git.280.25dfd9a947d-4.51.1 | SUSE-SU-2020:3087-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Python 2 15 SP2 | samba | 4.11.14+git.202.344b137b75d-4.14.1 | SUSE-SU-2020:3081-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSS | samba, samba-doc | 3.6.3-94.31.1 | SUSE-SU-2020:14525-1 |
| openSUSE | Leap 15.1 | samba | 4.9.5+git.383.7b7f8f14df8-lp151.2.36.1 | openSUSE-SU-2020:1811-1 |
| openSUSE | Leap 15.2 | samba | 4.11.14+git.202.344b137b75d-lp152.3.16.1 | openSUSE-SU-2020:1819-1 |
| openSUSE | Tumbleweed | samba | 4.14.6+git.182.2205d5224e3-1.1 | openSUSE-SU-2024:11365-1 |
| AlmaLinux | 8 | openchange | 2.3-27.el8 | ALSA-2021:1647 |
| AlmaLinux | 8 | samba-devel, libwbclient-devel, libsmbclient-devel | 4.13.3-3.el8 | ALSA-2021:1647 |
| Rocky Linux | 8 | openchange | 0:2.3-27.el8 | RLSA-2021:1647 |
| Rocky Linux | 8 | samba | 0:4.13.3-3.el8 | RLSA-2021:1647 |
| Alpine | v3.11 | samba | 4.11.16-r0 | ALPINE-CVE-2020-14318 |
| Alpine | v3.12, v3.13, v3.14 and 10 more | samba | 4.12.9-r0 | ALPINE-CVE-2020-14318 |
| Azure Linux | 2 | samba | no fix listed | AZL-7347 |
| Azure Linux | 3 | samba | 4.18.3-1 | AZL-36988 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
As Samba internally opens an underlying file system handle on a directory when a client requests an open, even for FILE_READ_ATTRIBUTES then if the underlying file system permissions don't allow "r" (read) access for the connected user, then the handle open request will be denied.
"r" access is the normal permission needed to list or otherwise reveal the contents of a directory, so if a connected user has "r" access then they will be able to list the directory contents normally, and the information received by a ChangeNofity request is already available to the user.
The security issue occurs if the Administrator or directory owner had set more restrictive Windows ACL permissions on the directory to disallow read access to the user, and this permissions change was not reflected in the underlying file system permissions.
This will only occur if Samba is configured with VFS modules to decouple the underlying file system permissions from the Windows ACLs, by setting up a share with the settings:
[vulnerable_share]
vfs_objects = vfs_acl_xattr
acl_xattr:ignore system acls = yes
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | samba-0:4.10.16-9.el7_9 | Fixed 2020-12-15 | RHSA-2020:5439 |
| Red Hat Enterprise Linux 8 | openchange-0:2.3-27.el8 | Fixed 2021-05-18 | RHSA-2021:1647 |
| Red Hat Enterprise Linux 8 | samba-0:4.13.3-3.el8 | Fixed 2021-05-18 | RHSA-2021:1647 |
| Red Hat Gluster Storage 3.5 for RHEL 7 | samba-0:4.11.6-112.el7rhgs | Fixed 2021-10-05 | RHSA-2021:3723 |
| Red Hat Gluster Storage 3.5 for RHEL 8 | samba-0:4.13.7-101.el8rhgs | Fixed 2021-05-05 | RHBA-2021:1503 |
| Red Hat Enterprise Linux 6 | samba | Out of support scope |
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-2020-14318.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.