cve.bz

CVE-2020-14318 Incorrect Privilege Assignment

4.3 mediumEPSS 1.5%Fix available

Medium (4.3). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the way samba handled file and directory permissions. An authenticated user could use this flaw to gain access to certain file and directory information which otherwise would be unavailable to the attacker.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-266 Incorrect Privilege Assignment
CWE-269 Improper Privilege Management
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambafrom 3.6.0 before 4.11.15
samba:sambafrom 4.12.0 before 4.12.9
samba:sambafrom 4.13.0 before 4.13.1
redhat:storage3.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9samba2:4.5.16+dfsg-1+deb9u3DLA-2463-1
Debian10samba2:4.9.5+dfsg-5+deb10u5DLA-3792-1
Debian12, 13, 14samba2:4.13.2+dfsg-2DEBIAN-CVE-2020-14318
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.32UBUNTU-CVE-2020-14318 USN-4611-1
Ubuntu18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.21UBUNTU-CVE-2020-14318 USN-4611-1
Ubuntu20.04:LTSsamba2:4.11.6+dfsg-0ubuntu1.6UBUNTU-CVE-2020-14318 USN-4611-1
UbuntuPro:14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.20+esm11UBUNTU-CVE-2020-14318 USN-4931-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 23 more0:4.10.16-9.el7_9RHSA-2020:5439
Red Hatenterprise_linux:7::computenodesamba, samba-dc, samba-pidl and 12 more0:4.10.16-9.el7_9RHSA-2020:5439
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 25 more0:4.10.16-9.el7_9RHSA-2020:5439
Red Hatenterprise_linux:8::appstreamopenchange, openchange-debuginfo, openchange-debugsource and 1 more0:2.3-27.el8RHSA-2021:1647
Red Hatenterprise_linux:8::baseosctdb, samba, ctdb-tests and 40 more0:4.13.3-3.el8RHSA-2021:1647
Red Hatenterprise_linux:8::crbsamba-devel, ctdb-debuginfo, samba-debuginfo and 21 more0:4.13.3-3.el8RHSA-2021:1647
Red Hatstorage:3.5:samba:el7ctdb, samba, samba-libs and 19 more0:4.11.6-112.el7rhgsRHSA-2021:3723
Red Hatstorage:3.5:samba:el8ctdb, samba, samba-libs and 39 more0:4.13.7-101.el8rhgsRHBA-2021:1503
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise High Availability Extension 12 SP3 and 10 moresamba4.6.16+git.248.c833312e640-3.58.1SUSE-SU-2020:3093-1
SUSEEnterprise Storage 6, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise Module for Basesystem 15 SP1 and 1 moresamba4.9.5+git.383.7b7f8f14df8-3.47.1SUSE-SU-2020:3092-1
SUSEEnterprise Storage 7samba4.13.3+git.181.fc4672a5b81-3.3.1SUSE-SU-2021:0185-1
SUSELinux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 moresamba4.4.2-38.39.1SUSE-SU-2020:3083-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.10.18+git.219.1d732314d96-3.20.1SUSE-SU-2020:3082-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS and 2 moresamba4.7.11+git.280.25dfd9a947d-4.51.1SUSE-SU-2020:3087-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Python 2 15 SP2samba4.11.14+git.202.344b137b75d-4.14.1SUSE-SU-2020:3081-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSsamba, samba-doc3.6.3-94.31.1SUSE-SU-2020:14525-1
openSUSELeap 15.1samba4.9.5+git.383.7b7f8f14df8-lp151.2.36.1openSUSE-SU-2020:1811-1
openSUSELeap 15.2samba4.11.14+git.202.344b137b75d-lp152.3.16.1openSUSE-SU-2020:1819-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
AlmaLinux8openchange2.3-27.el8ALSA-2021:1647
AlmaLinux8samba-devel, libwbclient-devel, libsmbclient-devel4.13.3-3.el8ALSA-2021:1647
Rocky Linux8openchange0:2.3-27.el8RLSA-2021:1647
Rocky Linux8samba0:4.13.3-3.el8RLSA-2021:1647
Alpinev3.11samba4.11.16-r0ALPINE-CVE-2020-14318
Alpinev3.12, v3.13, v3.14 and 10 moresamba4.12.9-r0ALPINE-CVE-2020-14318
Azure Linux2sambano fix listedAZL-7347
Azure Linux3samba4.18.3-1AZL-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

Red Hat rates this Moderate.

Red Hat's mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7samba-0:4.10.16-9.el7_9Fixed 2020-12-15RHSA-2020:5439
Red Hat Enterprise Linux 8openchange-0:2.3-27.el8Fixed 2021-05-18RHSA-2021:1647
Red Hat Enterprise Linux 8samba-0:4.13.3-3.el8Fixed 2021-05-18RHSA-2021:1647
Red Hat Gluster Storage 3.5 for RHEL 7samba-0:4.11.6-112.el7rhgsFixed 2021-10-05RHSA-2021:3723
Red Hat Gluster Storage 3.5 for RHEL 8samba-0:4.13.7-101.el8rhgsFixed 2021-05-05RHBA-2021:1503
Red Hat Enterprise Linux 6sambaOut 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.

Attack patterns (CAPEC)

  • CAPEC-58 Restful Privilege Elevation Likelihood: High · Severity: High
  • CAPEC-122 Privilege Abuse Likelihood: High · Severity: Medium
  • CAPEC-233 Privilege Escalation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON