Skip to content
OpenAdvisories
Medium · 5.3 CVE-2019-14861 EUVD-2019-5980GHSA-jhj7-p3xq-vh37

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 RP…

Published Dec 10, 2019 · Updated Aug 5, 2024 · Assigned by redhat

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 products

VendorProductAffectedFixed
Red Hat samba 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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:4.11.3+dfsg-1 —
Debian 13 samba 2:4.11.3+dfsg-1 —
Debian 12 samba 2:4.11.3+dfsg-1 —
Debian 9 samba 2:4.5.16+dfsg-1+deb9u4 DLA-2668-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.14 USN-4217-1
Ubuntu 16.04 LTS samba 2:4.3.11+dfsg-0ubuntu0.16.04.24 USN-4217-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS samba 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4 USN-4217-2
ReleasePackageFixed inAdvisory
SLES 15 SP1 samba 4.9.5+git.224.86a8e66adea-3.18.1 SUSE-SU-2019:3319-1
SLES 15 samba 4.7.11+git.202.6edee83fb34-4.34.1 SUSE-SU-2019:3318-1
SLES 12 SP5 ldb 1.5.8-3.5.1 SUSE-SU-2020:2673-1
SLES 12 SP5 samba 4.10.17+git.203.862547088ca-3.14.1 SUSE-SU-2020:2673-1
SLES 2 samba 4.9.5+git.224.86a8e66adea-3.18.1 SUSE-SU-2019:3319-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 ldb 1.5.8-3.5.1 SUSE-SU-2020:2673-1
SLES for SAP 12 SP5 samba 4.10.17+git.203.862547088ca-3.14.1 SUSE-SU-2020:2673-1
SUSE Enterprise Storage 6 samba 4.9.5+git.224.86a8e66adea-3.18.1 SUSE-SU-2019:3319-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.14.6+git.182.2205d5224e3-1.1 openSUSE-SU-2024:11365-1
openSUSE Leap 15.1 samba 4.9.5+git.224.86a8e66adea-lp151.2.12.1 openSUSE-SU-2019:2700-1
ReleasePackageFixed inAdvisory
Alpine v3.24 samba 4.11.3-r0 —
Alpine v3.23 samba 4.11.3-r0 —
Alpine v3.22 samba 4.11.3-r0 —
Alpine v3.21 samba 4.11.3-r0 —
Alpine v3.20 samba 4.11.3-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 samba 4.11.3-r0 —
Alpine v3.18 samba 4.11.3-r0 —
Alpine v3.17 samba 4.11.3-r0 —
Alpine v3.16 samba 4.11.3-r0 —
Alpine v3.15 samba 4.11.3-r0 —
Alpine v3.14 samba 4.11.3-r0 —
Alpine v3.13 samba 4.11.3-r0 —
Alpine v3.12 samba 4.11.3-r0 —
Alpine v3.11 samba 4.11.3-r0 —
Alpine v3.10 samba 4.10.11-r0 —

Advisories 9

References