Original description
All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.11 and 4.11.x before 4.11.3 have an issue, where the (poorly named) dnsserver RPC pipe provides administrative facilities to modify DNS records and zones. Samba, when acting as an AD DC, stores DNS records in LDAP. In AD, the default permissions on the DNS partition allow creation of new records by authenticated users. This is used for example to allow machines to self-register in DNS. If a DNS record was created that case-insensitively matched the name of the zone, the ldb_qsort() and dns_name_compare() routines could be confused into reading memory prior to the list of DNS entries when responding to DnssrvEnumRecords() or DnssrvEnumRecords2() and so following invalid memory as a pointer.
Affected software
- Samba ≥ 4.10.0 < 4.10.11≥ 4.0.0 < 4.9.17≥ 4.11.0 < 4.11.3 Fixed in: 4.10.11, 4.9.17, 4.11.3 exact match
Details
- Published
- 2019-12-10
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-276
- EPSS (30-day exploit probability)
- 2.30% (percentile 84)
References
- cve.org/CVE-2019-14861
- nvd.nist.gov/vuln/detail/CVE-2019-14861
- lists.opensuse.org/opensuse-security-announce/2019-12/msg00038.html
- www.openwall.com/lists/oss-security/2024/06/24/3
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14861
- lists.debian.org/debian-lts-announce/2021/05/msg00023.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W...
- security.gentoo.org/glsa/202003-52
- security.netapp.com/advisory/ntap-20191210-0002/
- usn.ubuntu.com/4217-1/
- usn.ubuntu.com/4217-2/
- www.samba.org/samba/security/CVE-2019-14861.html
- www.synology.com/security/advisory/Synology_SA_19_40
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.