{"schemaVersion":3,"id":"CVE-2019-3870","aliases":["DEBIAN-CVE-2019-3870"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-04-09T15:17:43.000Z","modified":"2024-08-04T19:19:18.603Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","exploitability":4.6,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.6,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00552,"percentile":0.44998,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00552},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00552,"percentile":0.44998}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00552,"percentile":0.44998}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_96609E79887DFFCA","name":"Exploit Reference (bugzilla.samba.org)","source":"reference","url":"https://bugzilla.samba.org/show_bug.cgi?id=13834","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-276","name":"Incorrect Default Permissions","description":"During installation, installed file permissions are set to allow anyone to modify those files.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/276.html"}],"affected":[{"vendor":"debian","product":"samba","name":"samba","label":"samba","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/samba","purlType":"deb","versions":[{"text":"< 2:4.9.5+dfsg-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:4.9.5+dfsg-3","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"29","noFixRecorded":false,"fixedIn":null},{"text":"30","noFixRecorded":false,"fixedIn":null}],"versionsText":"29 | 30","eol":{"isEol":true,"eolDate":"2019-11-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"29","label":"29","eolFrom":"2019-11-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"samba","product":"samba","name":"Samba","label":"samba","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.9.0, < 4.9.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.10.0, < 4.10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.9.0, < 4.9.6 | ≥ 4.10.0, < 4.10.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":"/vendor/samba/samba"},{"vendor":"synology","product":"directory_server","name":"directory server","label":"directory_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/synology/directory_server"},{"vendor":"synology","product":"diskstation_manager","name":"diskstation manager","label":"diskstation_manager","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"5.2","noFixRecorded":false,"fixedIn":null},{"text":"6.1","noFixRecorded":false,"fixedIn":null},{"text":"6.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.2 | 6.1 | 6.2","eol":null,"hubHref":"/vendor/synology/diskstation_manager"},{"vendor":"synology","product":"router_manager","name":"router manager","label":"router_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.2","eol":null,"hubHref":"/vendor/synology/router_manager"},{"vendor":"synology","product":"skynas","name":"skynas","label":"skynas","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/synology/skynas"},{"vendor":"synology","product":"vs960hd_firmware","name":"vs960hd firmware","label":"vs960hd_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 2.3.6-1720","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.6-1720","eol":null,"hubHref":"/vendor/synology/vs960hd"},{"vendor":"the samba project","product":"samba","name":"samba","label":"samba","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.9.6","noFixRecorded":false,"fixedIn":null},{"text":"4.10.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.9.6 | 4.10.2","eol":{"isEol":true,"eolDate":"2020-03-03T00:00:00.000Z","matchMethod":"name_exact","cycle":{"name":"4.9","label":"4.9","eolFrom":"2020-03-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"4.9.18"},"product":{"name":"samba","label":"Samba","category":"server-app"}},"hubHref":"/vendor/the_samba_project/samba"}],"affectedCount":9,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.samba.org/samba/security/CVE-2019-3870.html","label":"www.samba.org/samba/security/CVE-2019-3870.html","hostname":"www.samba.org","tags":["X Refsource MISC","Mitigation","Patch","Vendor Advisory"]},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=13834","label":"bugzilla.samba.org/show_bug.cgi?id=13834","hostname":"bugzilla.samba.org","tags":["X Refsource MISC","Exploit","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory"]},{"url":"https://www.synology.com/security/advisory/Synology_SA_19_15","label":"www.synology.com/security/advisory/Synology_SA_19_15","hostname":"www.synology.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://support.f5.com/csp/article/K20804356","label":"support.f5.com/csp/article/K20804356","hostname":"support.f5.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-3870","label":"security-tracker.debian.org/tracker/CVE-2019-3870","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3870","label":"nvd.nist.gov/vuln/detail/CVE-2019-3870","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11365-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11365-1"]},"timeline":[{"kind":"published","date":"2019-04-09T15:17:43.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T19:19:18.603Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:29:37.400Z","stale":false,"partial":false}}