CVEfocus › CVE database › CVE-2016-2123

CVE-2016-2123

CVSS 8.1 HighEPSS 6.2% (higher than 94% of CVEs)Published 2018-11-01Updated 2024-08-05Assigner: redhat

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.

CWE-122

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

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

8Fixed
58Not 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 16.04sambaFixed2:4.3.11+dfsg-0ubuntu0.16.04.3UBUNTU-CVE-2016-2123
Ubuntu 14.04sambaFixed2:4.3.11+dfsg-0ubuntu0.14.04.4UBUNTU-CVE-2016-2123
Debian 14sambaFixed2:4.5.2+dfsg-2DEBIAN-CVE-2016-2123
Debian 13sambaFixed2:4.5.2+dfsg-2DEBIAN-CVE-2016-2123
Debian 12sambaFixed2:4.5.2+dfsg-2DEBIAN-CVE-2016-2123
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
Red Hat Enterprise Linux 5sambaNot affected
Red Hat Enterprise Linux 5samba3xNot affected
Alpine Linux 3.4sambaFixed4.4.5-r2ALPINE-CVE-2016-2123
Alpine Linux 3.3sambaFixed4.2.14-r1ALPINE-CVE-2016-2123
Alpine Linux 3.2sambaFixed4.2.14-r1ALPINE-CVE-2016-2123

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.

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.