cve.bz

CVE-2019-3880 Path traversal

5.4 mediumEPSS 3.2%Fix available

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

On this page
A flaw was found in the way samba implemented an RPC endpoint emulating the Windows registry service API. An unprivileged attacker could use this flaw to create a new registry hive file anywhere they have unix permissions which could lead to creation of a new file in the Samba share. Versions before 4.8.11, 4.9.6 and 4.10.2 are vulnerable.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
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-2019-3880 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-3880?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-3880?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-2019-3880 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.2.0 before 4.8.11
samba:sambafrom 4.9.0 before 4.9.6
samba:sambafrom 4.10.0 before 4.10.2
debian:debian_linux8.0
redhat:gluster_storage3.0
redhat:enterprise_linux7.0
fedoraproject:fedora28
fedoraproject:fedora29
fedoraproject:fedora30
opensuse:leap42.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8samba2:4.2.14+dfsg-0+deb8u12DLA-1754-1
Debian9samba2:4.5.16+dfsg-1+deb9u1DSA-4427-1
Debian12, 13, 14samba2:4.9.5+dfsg-3DEBIAN-CVE-2019-3880
Ubuntu14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.20UBUNTU-CVE-2019-3880 USN-3939-1
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.19UBUNTU-CVE-2019-3880 USN-3939-1
Ubuntu18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.9UBUNTU-CVE-2019-3880 USN-3939-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationsamba, samba-dc, samba-libs and 23 more0:4.9.1-6.el7RHSA-2019:2099
Red Hatenterprise_linux:7::serverctdb, samba, samba-dc and 25 more0:4.9.1-6.el7RHSA-2019:2099
Red Hatenterprise_linux:8::appstreamsamba-test, ctdb-debuginfo, samba-debuginfo and 18 more0:4.10.4-1.el8RHSA-2019:3582
Red Hatenterprise_linux:8::baseosctdb, samba, ctdb-tests and 37 more0:4.10.4-1.el8RHSA-2019:3582
Red Hatenterprise_linux:8::crbctdb-debuginfo, samba-debuginfo, libwbclient-devel and 19 more0:4.10.4-1.el8RHSA-2019:3582
Red Hatstorage:3.4:samba:el6ctdb, samba, samba-dc and 21 more0:4.9.8-105.el6rhsRHSA-2019:1967
Red Hatstorage:3.4:samba:el6libtdb, tdb-tools, python-tdb and 2 more0:1.3.16-3.el6rhsRHSA-2019:1967
Red Hatstorage:3.4:samba:el6libtevent, python-tevent, libtevent-devel and 1 more0:0.9.37-3.el6rhsRHSA-2019:1967
Red Hatstorage:3.4:samba:el6pytalloc, libtalloc, pytalloc-devel and 2 more0:2.1.14-3.el6rhsRHSA-2019:1967
Red Hatstorage:3.4:samba:el7ctdb, samba, samba-dc and 21 more0:4.9.8-105.el7rhgsRHSA-2019:1966
Red Hatstorage:3.4:samba:el7libtdb, tdb-tools, python-tdb and 2 more0:1.3.16-3.el7rhgsRHSA-2019:1966
Red Hatstorage:3.4:samba:el7libtevent, python-tevent, libtevent-devel and 1 more0:0.9.37-3.el7rhgsRHSA-2019:1966
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Linux Enterprise High Availability Extension 12 SP1, Linux Enterprise Server 12 SP1-LTSS and 5 moresamba4.2.4-28.32.1SUSE-SU-2019:1195-1
SUSEEnterprise Storage 4, Linux Enterprise High Availability Extension 12 SP2, Linux Enterprise Server 12 SP2-BCL and 3 moresamba4.4.2-38.25.1SUSE-SU-2019:1203-1
SUSEEnterprise Storage 5, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 8 moresamba4.6.16+git.154.2998451b912-3.40.3SUSE-SU-2019:1037-1
SUSELinux Enterprise High Availability Extension 12, Linux Enterprise Server 12-LTSSsamba4.2.4-18.52.1SUSE-SU-2019:1194-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Module for Basesystem 15, Linux Enterprise Module for Package Hub 15samba4.7.11+git.153.b36ceaf2235-4.27.1SUSE-SU-2019:1040-1
SUSELinux Enterprise Module for Basesystem 15gamin-devel0.1.10-3.2.3SUSE-SU-2019:1040-1
SUSELinux Enterprise Module for Basesystem 15ldb1.2.4-3.12.1SUSE-SU-2019:1040-1
SUSELinux Enterprise Module for Basesystem 15talloc, talloc-man2.1.11-3.5.3SUSE-SU-2019:1040-1
SUSELinux Enterprise Module for Basesystem 15tdb1.3.15-3.6.3SUSE-SU-2019:1040-1
SUSELinux Enterprise Module for Basesystem 15tevent, tevent-man0.9.36-4.10.3SUSE-SU-2019:1040-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Desktop Applications 15avahi-glib20.6.32-5.5.8SUSE-SU-2019:1040-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Desktop Applications 15gnutls3.6.2-6.5.4SUSE-SU-2019:1040-1
6 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.0ldb1.2.4-lp150.10.1openSUSE-SU-2019:1180-1
openSUSELeap 15.0samba4.7.11+git.153.b36ceaf2235-lp150.3.14.1openSUSE-SU-2019:1180-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.6samba4.6.16-r1ALPINE-CVE-2019-3880
Alpinev3.7samba4.7.6-r3ALPINE-CVE-2019-3880
Alpinev3.8, v3.9, v3.10 and 14 moresamba4.8.11-r0ALPINE-CVE-2019-3880

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; the Alpine secdb, CC BY-SA 4.0. 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 statement

This issue affects the version of samba shipped with Red Hat Gluster Storage 3, as it contains the vulnerable functionality.

Red Hat's mitigation

Either turn off SMB1 by setting the global parameter:

'min protocol = SMB2'

or if SMB1 is required turn off unix extensions by setting the global parameter:

'unix extensions = no'

in the smb.conf file.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7samba-0:4.9.1-6.el7Fixed 2019-08-06RHSA-2019:2099
Red Hat Enterprise Linux 8samba-0:4.10.4-1.el8Fixed 2019-11-05RHSA-2019:3582
Red Hat Gluster Storage 3.4 for RHEL 6libtalloc-0:2.1.14-3.el6rhsFixed 2019-07-30RHSA-2019:1967
Red Hat Gluster Storage 3.4 for RHEL 6libtdb-0:1.3.16-3.el6rhsFixed 2019-07-30RHSA-2019:1967
Red Hat Gluster Storage 3.4 for RHEL 6libtevent-0:0.9.37-3.el6rhsFixed 2019-07-30RHSA-2019:1967
Red Hat Gluster Storage 3.4 for RHEL 6samba-0:4.9.8-105.el6rhsFixed 2019-07-30RHSA-2019:1967
Red Hat Gluster Storage 3.4 for RHEL 7libtalloc-0:2.1.14-3.el7rhgsFixed 2019-07-30RHSA-2019:1966
Red Hat Gluster Storage 3.4 for RHEL 7libtdb-0:1.3.16-3.el7rhgsFixed 2019-07-30RHSA-2019:1966
Red Hat Gluster Storage 3.4 for RHEL 7libtevent-0:0.9.37-3.el7rhgsFixed 2019-07-30RHSA-2019:1966
Red Hat Gluster Storage 3.4 for RHEL 7samba-0:4.9.8-105.el7rhgsFixed 2019-07-30RHSA-2019:1966
Red Hat Enterprise Linux 5sambaWill not fix
Red Hat Enterprise Linux 6sambaWill not fix
Red Hat Enterprise Linux 6samba4Will not fix
Red Hat Virtualization 4redhat-virtualization-hostNot affected

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-2019-3880.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

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

References

Check your stackJSON