CVE-2019-3870 json
A vulnerability was found in Samba from version (including) 4.9 to versions before 4.9.6 and 4.10.2.
published 2019-04-09 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-13483
- cvss
- 6.1
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
A vulnerability was found in Samba from version (including) 4.9 to versions before 4.9.6 and 4.10.2. During the creation of a new Samba AD DC, files are created in a private subdirectory of the install location. This directory is typically mode 0700, that is owner (root) only access. However in some upgraded installations it will have other permissions, such as 0755, because this was the default before Samba 4.8. Within this directory, files are created with mode 0666, which is world-writable, including a sample krb5.conf, and the list of DNS names and servicePrincipalName values to update.
Patch / fix
- samba samba 4.9.6, 4.10.2
- synology vs960hd_firmware 2.3.6-1720
- samba Debian 14, Debian 13, Debian 12 2:4.9.5+dfsg-3
debian advisories DEBIAN-CVE-2019-3870
- samba openSUSE Tumbleweed 4.14.6+git.182.2205d5224e3-1.1
opensuse advisories openSUSE-SU-2024:11365-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-3870 updated cvss 6.1
samba: World writable files in Samba AD DC private/ dir
-
Red Hat Enterprise Linux 5 samba Red Hat Enterprise Linux 6 samba, samba-swat, libsmbclient, samba-client, samba-common, samba-winbind, +4 more Red Hat Enterprise Linux 7 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +18 more Red Hat Enterprise Linux 8 ctdb, samba, libnetapi, ctdb-tests, samba-libs, samba-pidl, +24 more Red Hat Storage 3 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +21 more Red Hat Virtualization 4 redhat-virtualization-host-image-updatenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.samba.org https://bugzilla.samba.org/show_bug.cgi?id=13834 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.1 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H |
| NVD | 2.0 | 3.6 | AV:L/AC:L/Au:N/C:N/I:P/A:P |
Affected products
- The Samba Project samba
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
References
-
samba.org
/samba/security/CVE-2019-3870.html
mitigation, patch, vendor-advisory
-
bugzilla.samba.org
/show_bug.cgi?id=13834
exploit, issue-tracking, patch, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62/
vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-3870
issue-tracking, third-party-advisory
-
synology.com
/security/advisory/Synology_SA_19_15
third-party-advisory
-
support.f5.com
/csp/article/K20804356
third-party-advisory
Sources
- CVE List CVE-2019-3870
- NVD CVE-2019-3870
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.