CVEfocus › CVE database › CVE-2017-3138

CVE-2017-3138named exits with a REQUIRE assertion failure if it receives a null command string on its…

CVSS 6.5 MediumEPSS 5.5% (higher than 93% of CVEs)Published 2019-01-16Updated 2024-09-16Assigner: isc

named contains a feature which allows operators to issue commands to a running server by communicating with the server process over a control channel, using a utility program such as rndc. A regression introduced in a recent feature change has created a situation under which some versions of named can be caused to exit with a REQUIRE assertion failure if they are sent a null command string. Affects BIND 9.9.9->9.9.9-P7, 9.9.10b1->9.9.10rc2, 9.10.4->9.10.4-P7, 9.10.5b1->9.10.5rc2, 9.11.0->9.11.0-P4, 9.11.1b1->9.11.1rc2, 9.9.9-S1->9.9.9-S9.

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

27Fixed
24Not 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.04bind9Fixed1:9.10.3.dfsg.P4-8ubuntu1.6UBUNTU-CVE-2017-3138
Ubuntu 14.04bind9Fixed1:9.9.5.dfsg-3ubuntu0.14UBUNTU-CVE-2017-3138
Debian 14bind9Fixed1:9.10.3.dfsg.P4-12.3DEBIAN-CVE-2017-3138
Debian 13bind9Fixed1:9.10.3.dfsg.P4-12.3DEBIAN-CVE-2017-3138
Debian 12bind9Fixed1:9.10.3.dfsg.P4-12.3DEBIAN-CVE-2017-3138
Red Hat Enterprise Linux 7bindNot affected
Red Hat Enterprise Linux 7bind-chrootNot affected
Red Hat Enterprise Linux 7bind-develNot affected
Red Hat Enterprise Linux 7bind-export-develNot affected
Red Hat Enterprise Linux 7bind-export-libsNot affected
Red Hat Enterprise Linux 7bind-libsNot affected
Red Hat Enterprise Linux 7bind-libs-liteNot affected
Red Hat Enterprise Linux 7bind-licenseNot affected
Red Hat Enterprise Linux 7bind-lite-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11Not affected
Red Hat Enterprise Linux 7bind-pkcs11-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 7bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 7bind-sdbNot affected
Red Hat Enterprise Linux 7bind-sdb-chrootNot affected
Red Hat Enterprise Linux 7bind-utilsNot affected
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 6bind-chrootNot affected
Red Hat Enterprise Linux 6bind-develNot affected
Red Hat Enterprise Linux 6bind-libsNot affected
Red Hat Enterprise Linux 6bind-sdbNot affected
Red Hat Enterprise Linux 6bind-utilsNot affected
Red Hat Enterprise Linux 5bindNot affected
Red Hat Enterprise Linux 5bind97Not affected
Alpine Linux 3.24bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.23bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.22bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.21bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.20bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.19bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.18bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.17bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.16bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.15bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.14bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.13bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.12bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.11bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.10bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.9bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.8bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.7bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.6bindFixed9.11.0_p5-r0ALPINE-CVE-2017-3138
Alpine Linux 3.5bindFixed9.10.4_p8-r0ALPINE-CVE-2017-3138
Alpine Linux 3.3bindFixed9.10.4_p8-r0ALPINE-CVE-2017-3138
Alpine Linux 3.2bindFixed9.10.4_p8ALPINE-CVE-2017-3138

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of BIND. These can all be downloaded from http://www.isc.org/downloads. BIND 9 version 9.9.9-P8 BIND 9 version 9.10.4-P8 BIND 9 version 9.11.0-P5 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9 version 9.9.9-S10 New maintenance releases of BIND are also scheduled which contain the fix for this vulnerability. In addition to the security releases listed above, fixes for this vulnerability are also included in these release candidate versions: BIND 9 version 9.9.10rc3 BIND 9 version 9.10.5rc3 BIND 9 version 9.11.1rc3

Workaround: None. However, in a properly configured server, access to the control channel should already be limited by either network ACLs, TSIG keys, or both.

Vendor advisories:

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.