CVE-2019-3870
A vulnerability was found in Samba from version (including) 4.9 to versions before 4.9.6 and 4.10...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.1
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.
- Record
CVE-2019-3870- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-276
- Updated
- 2026-11-02
EUVDEUVD-2019-13483
6.1
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.
- Record
EUVD-2019-13483- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xv9q-3jh5-9rrc
6.1
A vulnerability was found in Samba from version (including) 4.9 to versions before 4.9.6 and 4.10...
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.
- Record
GHSA-xv9q-3jh5-9rrc- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - Weakness
- CWE-276
- Updated
- 2026-11-02
NVD
6.1
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.
- Record
CVE-2019-3870- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - CVSS 2.0
- 3.6 Low
AV:L/AC:L/Au:N/C:N/I:P/A:P - Weakness
- CWE-276
- Updated
- 2026-11-02
OSVAZL-45057
6.1
CVE-2019-3870 affecting package samba for versions less than 4.18.3-1
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.
- Record
AZL-45057- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSV
6.1
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.
- Record
CVE-2019-3870- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-3870
6.1
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.
- Record
DEBIAN-CVE-2019-3870- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11365-1 No score
ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media
These are all security issues fixed in the ctdb-4.14.6+git.182.2205d5224e3-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11365-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sambaAzure Linux:3 |
before 4.18.3-1 | 4.18.3-1 |
sambaDebian:12 |
before 2:4.9.5+dfsg-3 | 2:4.9.5+dfsg-3 |
sambaDebian:13 |
before 2:4.9.5+dfsg-3 | 2:4.9.5+dfsg-3 |
sambaDebian:14 |
before 2:4.9.5+dfsg-3 | 2:4.9.5+dfsg-3 |
sambaopenSUSE:Tumbleweed From an advisory covering 66 CVEs |
before 4.14.6+git.182.2205d5224e3-1.1 | 4.14.6+git.182.2205d5224e3-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-3870 is a medium vulnerability (CVSS 6.1) in Samba, published April 9, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.55%, the 46th percentile. Fixed in samba 4.18.3-1.
References
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62
samba.org/samba/security/CVE-2019-3870.html
bugzilla.samba.org/show_bug.cgi?id=13834
bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870
synology.com/security/advisory/Synology_SA_19_15
Show 72 moreShow less
support.f5.com/csp/article/K20804356
nvd.nist.gov/vuln/detail/CVE-2019-3870
lists.fedoraproject.org/archives/list/[email protected]/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62
lists.fedoraproject.org/archives/list/[email protected]/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA
github.com/advisories/GHSA-xv9q-3jh5-9rrc
security-tracker.debian.org/tracker/CVE-2019-3870
suse.com/security/cve/CVE-2006-1059
suse.com/security/cve/CVE-2006-3403
suse.com/security/cve/CVE-2007-0452
suse.com/security/cve/CVE-2007-2444
suse.com/security/cve/CVE-2007-2446
suse.com/security/cve/CVE-2007-2447
suse.com/security/cve/CVE-2007-4138
suse.com/security/cve/CVE-2007-4572
suse.com/security/cve/CVE-2007-5398
suse.com/security/cve/CVE-2007-6015
suse.com/security/cve/CVE-2008-1105
suse.com/security/cve/CVE-2008-3789
suse.com/security/cve/CVE-2008-4314
suse.com/security/cve/CVE-2009-0022
suse.com/security/cve/CVE-2016-2123
suse.com/security/cve/CVE-2016-2125
suse.com/security/cve/CVE-2016-2126
suse.com/security/cve/CVE-2017-11103
suse.com/security/cve/CVE-2017-12150
suse.com/security/cve/CVE-2017-12151
suse.com/security/cve/CVE-2017-12163
suse.com/security/cve/CVE-2017-14746
suse.com/security/cve/CVE-2017-15275
suse.com/security/cve/CVE-2017-2619
suse.com/security/cve/CVE-2017-7494
suse.com/security/cve/CVE-2018-1050
suse.com/security/cve/CVE-2018-1057
suse.com/security/cve/CVE-2018-10858
suse.com/security/cve/CVE-2018-10918
suse.com/security/cve/CVE-2018-10919
suse.com/security/cve/CVE-2018-1139
suse.com/security/cve/CVE-2018-1140
suse.com/security/cve/CVE-2018-14629
suse.com/security/cve/CVE-2018-16841
suse.com/security/cve/CVE-2018-16851
suse.com/security/cve/CVE-2018-16852
suse.com/security/cve/CVE-2018-16853
suse.com/security/cve/CVE-2018-16857
suse.com/security/cve/CVE-2018-16860
suse.com/security/cve/CVE-2019-10197
suse.com/security/cve/CVE-2019-10218
suse.com/security/cve/CVE-2019-12435
suse.com/security/cve/CVE-2019-12436
suse.com/security/cve/CVE-2019-14833
suse.com/security/cve/CVE-2019-14847
suse.com/security/cve/CVE-2019-14861
suse.com/security/cve/CVE-2019-14870
suse.com/security/cve/CVE-2019-14902
suse.com/security/cve/CVE-2019-14907
suse.com/security/cve/CVE-2019-19344
suse.com/security/cve/CVE-2019-3824
suse.com/security/cve/CVE-2019-3870
suse.com/security/cve/CVE-2019-3880
suse.com/security/cve/CVE-2020-10700
suse.com/security/cve/CVE-2020-10704
suse.com/security/cve/CVE-2020-10730
suse.com/security/cve/CVE-2020-10745
suse.com/security/cve/CVE-2020-10760
suse.com/security/cve/CVE-2020-14303
suse.com/security/cve/CVE-2020-14318
suse.com/security/cve/CVE-2020-14323
suse.com/security/cve/CVE-2020-14383
suse.com/security/cve/CVE-2020-1472
suse.com/security/cve/CVE-2020-27840
suse.com/security/cve/CVE-2021-20254
suse.com/security/cve/CVE-2021-20277