Name | CVE-2019-14861 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2668-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
samba (PTS) | jessie, jessie (lts) | 2:4.2.14+dfsg-0+deb8u16 | vulnerable |
| stretch (security) | 2:4.5.16+dfsg-1+deb9u4 | fixed |
| stretch (lts), stretch | 2:4.5.16+dfsg-1+deb9u5 | fixed |
| buster (security), buster, buster (lts) | 2:4.9.5+dfsg-5+deb10u5 | vulnerable |
| bullseye (security), bullseye | 2:4.13.13+dfsg-1~deb11u6 | fixed |
| bookworm (security), bookworm | 2:4.17.12+dfsg-0+deb12u1 | fixed |
| trixie | 2:4.21.2+dfsg-3 | fixed |
| sid | 2:4.21.2+dfsg-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
samba | source | wheezy | (not affected) | | | |
samba | source | stretch | 2:4.5.16+dfsg-1+deb9u4 | | DLA-2668-1 | |
samba | source | (unstable) | 2:4.11.3+dfsg-1 | | | |
Notes
[buster] - samba <ignored> (Domain controller functionality is EOLed, see DSA-5015-1)
[jessie] - samba <no-dsa> (Minor issue)
https://www.samba.org/samba/security/CVE-2019-14861.html
[wheezy] - samba <not-affected> (Vulnerable code introduced in 4.0)
ignored in samba/jessie since AD DC functionality is EOLed