CVEfocus › CVE database › CVE-2019-14861

CVE-2019-14861

CVSS 5.3 MediumEPSS 2.3% (higher than 84% of CVEs)Published 2019-12-10Updated 2024-08-05Assigner: redhat

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.

CWE-276

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

20Fixed
1Fix pending
91Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04sambaFixed2:4.7.6+dfsg~ubuntu-0ubuntu2.14UBUNTU-CVE-2019-14861
Ubuntu 16.04sambaFixed2:4.3.11+dfsg-0ubuntu0.16.04.24UBUNTU-CVE-2019-14861
Ubuntu 14.04sambaFix pending2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4 (Ubuntu Pro)UBUNTU-CVE-2019-14861
Debian 14sambaFixed2:4.11.3+dfsg-1DEBIAN-CVE-2019-14861
Debian 13sambaFixed2:4.11.3+dfsg-1DEBIAN-CVE-2019-14861
Debian 12sambaFixed2:4.11.3+dfsg-1DEBIAN-CVE-2019-14861
Red Hat Enterprise Linux 8ctdbNot affected
Red Hat Enterprise Linux 8ctdb-testsNot affected
Red Hat Enterprise Linux 8libnetapiNot affected
Red Hat Enterprise Linux 8libnetapi-develNot affected
Red Hat Enterprise Linux 8libsmbclientNot affected
Red Hat Enterprise Linux 8libsmbclient-develNot affected
Red Hat Enterprise Linux 8libwbclientNot affected
Red Hat Enterprise Linux 8libwbclient-develNot affected
Red Hat Enterprise Linux 8python3-sambaNot affected
Red Hat Enterprise Linux 8python3-samba-dcNot affected
Red Hat Enterprise Linux 8python3-samba-develNot affected
Red Hat Enterprise Linux 8python3-samba-testNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Enterprise Linux 8samba-clientNot affected
Red Hat Enterprise Linux 8samba-client-libsNot affected
Red Hat Enterprise Linux 8samba-commonNot affected
Red Hat Enterprise Linux 8samba-common-libsNot affected
Red Hat Enterprise Linux 8samba-common-toolsNot affected
Red Hat Enterprise Linux 8samba-dc-libsNot affected
Red Hat Enterprise Linux 8samba-dcerpcNot affected
Red Hat Enterprise Linux 8samba-develNot affected
Red Hat Enterprise Linux 8samba-krb5-printingNot affected
Red Hat Enterprise Linux 8samba-ldb-ldap-modulesNot affected
Red Hat Enterprise Linux 8samba-libsNot affected
Red Hat Enterprise Linux 8samba-pidlNot affected
Red Hat Enterprise Linux 8samba-testNot affected
Red Hat Enterprise Linux 8samba-test-libsNot affected
Red Hat Enterprise Linux 8samba-toolsNot affected
Red Hat Enterprise Linux 8samba-usersharesNot affected
Red Hat Enterprise Linux 8samba-vfs-iouringNot affected
Red Hat Enterprise Linux 8samba-winbindNot affected
Red Hat Enterprise Linux 8samba-winbind-clientsNot affected
Red Hat Enterprise Linux 8samba-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 8samba-winbind-modulesNot affected
Red Hat Enterprise Linux 8samba-winexeNot affected
Red Hat Enterprise Linux 7ctdbNot affected
Red Hat Enterprise Linux 7ctdb-develNot affected
Red Hat Enterprise Linux 7ctdb-testsNot affected
Red Hat Enterprise Linux 7libsmbclientNot affected
Red Hat Enterprise Linux 7libsmbclient-develNot affected
Red Hat Enterprise Linux 7libwbclientNot affected
Red Hat Enterprise Linux 7libwbclient-develNot affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 7samba-clientNot affected
Red Hat Enterprise Linux 7samba-client-libsNot affected
Red Hat Enterprise Linux 7samba-commonNot affected
Red Hat Enterprise Linux 7samba-common-libsNot affected
Red Hat Enterprise Linux 7samba-common-toolsNot affected
Red Hat Enterprise Linux 7samba-dcNot affected
Red Hat Enterprise Linux 7samba-dc-libsNot affected
Red Hat Enterprise Linux 7samba-develNot affected
Red Hat Enterprise Linux 7samba-krb5-printingNot affected
Red Hat Enterprise Linux 7samba-libsNot affected
Red Hat Enterprise Linux 7samba-pidlNot affected
Red Hat Enterprise Linux 7samba-pythonNot affected
Red Hat Enterprise Linux 7samba-python-testNot affected
Red Hat Enterprise Linux 7samba-testNot affected
Red Hat Enterprise Linux 7samba-test-develNot affected
Red Hat Enterprise Linux 7samba-test-libsNot affected
Red Hat Enterprise Linux 7samba-vfs-glusterfsNot affected
Red Hat Enterprise Linux 7samba-winbindNot affected
Red Hat Enterprise Linux 7samba-winbind-clientsNot affected
Red Hat Enterprise Linux 7samba-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 7samba-winbind-modulesNot affected
Red Hat Enterprise Linux 6libsmbclientNot affected
Red Hat Enterprise Linux 6libsmbclient-develNot affected
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 6samba-clientNot affected
Red Hat Enterprise Linux 6samba-commonNot affected
Red Hat Enterprise Linux 6samba-docNot affected
Red Hat Enterprise Linux 6samba-domainjoin-guiNot affected
Red Hat Enterprise Linux 6samba-glusterfsNot affected
Red Hat Enterprise Linux 6samba-swatNot affected
Red Hat Enterprise Linux 6samba-winbindNot affected
Red Hat Enterprise Linux 6samba-winbind-clientsNot affected
Red Hat Enterprise Linux 6samba-winbind-develNot affected
Red Hat Enterprise Linux 6samba-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 6samba4-clientNot affected
Red Hat Enterprise Linux 6samba4-commonNot affected
Red Hat Enterprise Linux 6samba4-dcNot affected
Red Hat Enterprise Linux 6samba4-dc-libsNot affected
Red Hat Enterprise Linux 6samba4-develNot affected
Red Hat Enterprise Linux 6samba4-libsNot affected
Red Hat Enterprise Linux 6samba4-pidlNot affected
Red Hat Enterprise Linux 6samba4-pythonNot affected
Red Hat Enterprise Linux 6samba4-swatNot affected
Red Hat Enterprise Linux 6samba4-testNot affected
Red Hat Enterprise Linux 6samba4-winbindNot affected
Red Hat Enterprise Linux 6samba4-winbind-clientsNot affected
Red Hat Enterprise Linux 6samba4-winbind-krb5-locatorNot affected
Alpine Linux 3.24sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.23sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.22sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.21sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.20sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.19sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.18sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.17sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.16sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.15sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.14sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.13sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.12sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.11sambaFixed4.11.3-r0ALPINE-CVE-2019-14861
Alpine Linux 3.10sambaFixed4.10.11-r0ALPINE-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.

Vendor advisories:

References

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.