Use of out-of-range pointer offset in Samba - CVE-2019-14861
Published: December 10, 2019
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to an error when processing DNS records in ldb_qsort() and dns_name_compare() function within the dnsserver RPC pipe. A remote authenticated user can register a zone with an existing name but in different register and force Samba to read memory prior to the list of DNS entries when responding to DnssrvEnumRecords() or DnssrvEnumRecords2() calls. This will trigger Samba to follow invalid memory as a pointer and lead to DoS of the DNS management server.
Affected software
Gentoo Linux
Debian Linux
Ubuntu
Opensuse
Fedora
RoboHelp
samba (Alpine package)
libsmbclient (Ubuntu package)
samba (Ubuntu package)
samba (Debian package)
samba
How to mitigate CVE-2019-14861
samba (Alpine package) - update to 4.10.11-r0
libsmbclient (Ubuntu package) - update to 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4
samba (Ubuntu package) - addressed in versions 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4, 2:4.3.11+dfsg-0ubuntu0.16.04.24, 2:4.7.6+dfsg~ubuntu-0ubuntu2.14, 2:4.10.0+dfsg-0ubuntu2.7, 2:4.10.7+dfsg-0ubuntu2.3
samba (Debian package) - update to 2:4.5.16+dfsg-1+deb9u4
samba - addressed in versions 4.10.11-0.fc30, 4.11.3-0.fc31