Skip to content
OpenAdvisories
High · 8.1 CVE-2016-2123 EUVD-2016-3226GHSA-m2v2-w4f9-rmq6

A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains an integer wrap problem, leading to an att…

Published Nov 1, 2018 · Updated Aug 5, 2024 · Assigned by redhat

Description

A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains an integer wrap problem, leading to an attacker-controlled memory overwrite. ndr_pull_dnsp_name parses data from the Samba Active Directory ldb database. Any user who can write to the dnsRecord attribute over LDAP can trigger this memory corruption. By default, all authenticated LDAP users can write to the dnsRecord attribute on new DNS objects. This makes the defect a remote privilege escalation.

Affected products

VendorProductAffectedFixed
[UNKNOWN] samba versions 4.0.0 to 4.5.2 —

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.5.2+dfsg-2 —
Debian 13 samba 2:4.5.2+dfsg-2 —
Debian 12 samba 2:4.5.2+dfsg-2 —
Debian 8 samba 2:4.2.14+dfsg-0+deb8u2 DSA-3740-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS samba 2:4.3.11+dfsg-0ubuntu0.16.04.3 USN-3158-1
Ubuntu 14.04 LTS samba 2:4.3.11+dfsg-0ubuntu0.14.04.4 USN-3158-1
ReleasePackageFixed inAdvisory
SLES 12 SP2 samba 4.2.4-28.3.1 SUSE-SU-2016:3272-1, SUSE-SU-2016:3271-1
SLES 12 SP1 samba 4.2.4-28.3.1 SUSE-SU-2016:3272-1
SLES 12 samba 4.2.4-18.30.1 SUSE-SU-2016:3299-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 samba 4.2.4-28.3.1 SUSE-SU-2016:3272-1, SUSE-SU-2016:3271-1
SLES for SAP 12 SP1 samba 4.2.4-28.3.1 SUSE-SU-2016:3272-1
SLES for SAP 12 samba 4.2.4-18.30.1 SUSE-SU-2016:3299-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.14.6+git.182.2205d5224e3-1.1 openSUSE-SU-2024:11365-1
ReleasePackageFixed inAdvisory
Alpine v3.4 samba 4.4.5-r2 —
Alpine v3.3 samba 4.2.14-r1 —
Alpine v3.2 samba 4.2.14-r1 —

Advisories 6

References