CVE-2019-14861
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | samba | Fixed | 2:4.7.6+dfsg~ubuntu-0ubuntu2.14 | UBUNTU-CVE-2019-14861 |
| Ubuntu 16.04 | samba | Fixed | 2:4.3.11+dfsg-0ubuntu0.16.04.24 | UBUNTU-CVE-2019-14861 |
| Ubuntu 14.04 | samba | Fix pending | 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4 (Ubuntu Pro) | UBUNTU-CVE-2019-14861 |
| Debian 14 | samba | Fixed | 2:4.11.3+dfsg-1 | DEBIAN-CVE-2019-14861 |
| Debian 13 | samba | Fixed | 2:4.11.3+dfsg-1 | DEBIAN-CVE-2019-14861 |
| Debian 12 | samba | Fixed | 2:4.11.3+dfsg-1 | DEBIAN-CVE-2019-14861 |
| Red Hat Enterprise Linux 8 | ctdb | Not affected | ||
| Red Hat Enterprise Linux 8 | ctdb-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | libnetapi | Not affected | ||
| Red Hat Enterprise Linux 8 | libnetapi-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 8 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libwbclient | Not affected | ||
| Red Hat Enterprise Linux 8 | libwbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-samba | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-samba-dc | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-samba-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-samba-test | Not affected | ||
| Red Hat Enterprise Linux 8 | samba | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-client-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-common-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-common-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-dcerpc | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-krb5-printing | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-ldb-ldap-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-pidl | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-test | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-test-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-usershares | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-vfs-iouring | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winbind-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | samba-winexe | Not affected | ||
| Red Hat Enterprise Linux 7 | ctdb | Not affected | ||
| Red Hat Enterprise Linux 7 | ctdb-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ctdb-tests | Not affected | ||
| Red Hat Enterprise Linux 7 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 7 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libwbclient | Not affected | ||
| Red Hat Enterprise Linux 7 | libwbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-client-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-common-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-dc | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-krb5-printing | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-pidl | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-python | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-python-test | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-test-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-vfs-glusterfs | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 7 | samba-winbind-modules | Not affected | ||
| Red Hat Enterprise Linux 6 | libsmbclient | Not affected | ||
| Red Hat Enterprise Linux 6 | libsmbclient-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-client | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-common | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-domainjoin-gui | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-glusterfs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-swat | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba-winbind-krb5-locator | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4 | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-client | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-common | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-dc | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-dc-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-pidl | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-python | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-swat | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-test | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4-winbind-krb5-locator | Not affected | ||
| Alpine Linux 3.24 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.23 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.22 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.21 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.20 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.19 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.18 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.17 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.16 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.15 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.14 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.13 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.12 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.11 | samba | Fixed | 4.11.3-r0 | ALPINE-CVE-2019-14861 |
| Alpine Linux 3.10 | samba | Fixed | 4.10.11-r0 | ALPINE-CVE-2019-14861 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat samba: affected: all versions 4.11.x before 4.11.3, all versions 4.10.x before 4.10.11, all versions 4.x.x before 4.9.17
Vendor advisories:
- https://usn.ubuntu.com/4217-1/ (vendor-advisory)
- https://usn.ubuntu.com/4217-2/ (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00038.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202003-52 (vendor-advisory)
References
- https://usn.ubuntu.com/4217-1/
- https://usn.ubuntu.com/4217-2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PJH3ROOFYMOATD2UEPC47P5RPBDTY77E/
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00038.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNKA4YIPV7AZR7KK3GW6L3HKGHSGJZFE/
- https://security.gentoo.org/glsa/202003-52
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14861
- https://security.netapp.com/advisory/ntap-20191210-0002/
- https://www.samba.org/samba/security/CVE-2019-14861.html
- https://www.synology.com/security/advisory/Synology_SA_19_40
- https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html
- http://www.openwall.com/lists/oss-security/2024/06/24/3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.