What’s Vulnerable › Vulnerabilities
CVE-2019-3870
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-04-09 · updated 2026-06-17
- Weakness: CWE-276
Description
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.
Affected products
- Fedoraproject Fedora: 29, 30
- Samba: from 4.9.0 before 4.9.6; from 4.10.0 before 4.10.2 — fixed in 4.10.2, 4.9.6
- Synology Directory Server: all versions
- Synology DiskStation Manager: 5.2, 6.1, 6.2
- Synology Router Manager (SRM): 1.2
- Synology Skynas Firmware: all versions
- Synology Vs960Hd Firmware: before 2.3.6-1720 — fixed in 2.3.6-1720
How to fix
Upgrade to a fixed version: Samba 4.10.2, 4.9.6; Synology Vs960Hd Firmware 2.3.6-1720. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870
- https://bugzilla.samba.org/show_bug.cgi?id=13834
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA/
- https://support.f5.com/csp/article/K20804356
- https://www.samba.org/samba/security/CVE-2019-3870.html
- https://www.synology.com/security/advisory/Synology_SA_19_15
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870
- https://bugzilla.samba.org/show_bug.cgi?id=13834
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA/
- https://support.f5.com/csp/article/K20804356
Get alerted when CVE-2019-3870 or the next vulnerability affects your stack