Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-3870

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-3870
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:56 UTC · Revision 1

Source evidence

CVE-2019-3870

core-osv · Original source

Published 9 Apr 2019, 16:29 UTC

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.

osv:CVE-2019-3870
Complete source record
{
  "id": "7e17f6af117b0a29dcd26aff48f44ce7fea615315e026f8cd95ceab7b60c6e48",
  "url": "https://osv.dev/vulnerability/CVE-2019-3870",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-3870",
    "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.",
    "evidence": "osv:CVE-2019-3870",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-3870",
      "aliases": [
        "CVE-2019-3870"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/samba-team/samba",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4fc4ae2924aaa2fc184b7385069274526fa8a4c2"
                },
                {
                  "fixed": "dd7b68d11c0c51033cdac339ee511acbd7750ce3"
                },
                {
                  "introduced": "25f2fe02a615e2cf906b6fa495acd8ea0aa9998a"
                },
                {
                  "fixed": "17cd92e1c3672c4ffde7ca94546f57907d22262b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.9.0"
                      },
                      {
                        "fixed": "4.9.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.10.0"
                      },
                      {
                        "fixed": "4.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "samba-4.10.1",
            "samba-4.9.5",
            "samba-4.10.0",
            "ldb-1.4.6",
            "ldb-1.4.5",
            "ldb-1.4.4",
            "samba-4.9.4",
            "samba-4.9.2",
            "ldb-1.4.3",
            "samba-4.9.1",
            "samba-4.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-3870.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:46.755090291Z",
      "provider": "osv",
      "references": [
        "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.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://www.samba.org/samba/security/CVE-2019-3870.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:synology:vs960hd_firmware:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "synology:vs960hd_firmware",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2.3.6-1720"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "29"
                  },
                  {
                    "last_affected": "29"
                  },
                  {
                    "introduced": "30"
                  },
                  {
                    "last_affected": "30"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:synology:diskstation_manager:5.2:*:*:*:*:*:*:*",
              "cpe:2.3:o:synology:diskstation_manager:6.1:*:*:*:*:*:*:*",
              "cpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "synology:diskstation_manager",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.2"
                  },
                  {
                    "last_affected": "5.2"
                  },
                  {
                    "introduced": "6.1"
                  },
                  {
                    "last_affected": "6.1"
                  },
                  {
                    "introduced": "6.2"
                  },
                  {
                    "last_affected": "6.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:synology:router_manager:1.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "synology:router_manager",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.2"
                  },
                  {
                    "last_affected": "1.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-3870",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436400,
  "published_at": "2019-04-09T16:29:01.867+00:00"
}