CVE-2019-3880
The Samba Project samba: Improper Limitation of a Pathname to a Restricted Directory
Check your servers for CVE-2019-3880
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-3880 affects samba, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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)
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 3.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.0% of all scored CVEs. Scores of 30 Nov 2026.
Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| samba |
affected 4.8.11 affected 4.9.6 affected 4.10.2
|
Is my server affected?
Find the installed version of samba and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i samba
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-3880 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-3880RHEL, Rocky, Alma, Fedora
rpm -q samba
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-3880Alpine
apk list --installed | grep -i sambaWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-3880
trivy image --scanners vuln IMAGE | grep CVE-2019-3880
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3880 bugzilla.redhat.com
- openSUSE-SU-2019:1180 lists.opensuse.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20190411-0004/ security.netapp.com
- FEDORA-2019-cacf88eabf lists.fedoraproject.org · vendor advisory
- https://www.synology.com/security/advisory/Synology_SA_19_15 synology.com
- FEDORA-2019-db21b5f1d2 lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2019:1292 lists.opensuse.org · vendor advisory
- FEDORA-2019-019c5314a0 lists.fedoraproject.org · vendor advisory
- https://support.f5.com/csp/article/K20804356 support.f5.com
- RHSA-2019:1966 access.redhat.com · vendor advisory
- RHSA-2019:1967 access.redhat.com · vendor advisory
- RHSA-2019:2099 access.redhat.com · vendor advisory
- RHSA-2019:3582 access.redhat.com · vendor advisory
Other references
- https://www.samba.org/samba/security/CVE-2019-3880.html samba.org
- [debian-lts-announce] 20190409 [SECURITY] [DLA 1754-1] samba security update lists.debian.org · mailing list
Source: the record CVE-2019-3880 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse