CVE-2017-3138named exits with a REQUIRE assertion failure if it receives a null command string on its…
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | bind9 | Fixed | 1:9.10.3.dfsg.P4-8ubuntu1.6 | UBUNTU-CVE-2017-3138 |
| Ubuntu 14.04 | bind9 | Fixed | 1:9.9.5.dfsg-3ubuntu0.14 | UBUNTU-CVE-2017-3138 |
| Debian 14 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12.3 | DEBIAN-CVE-2017-3138 |
| Debian 13 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12.3 | DEBIAN-CVE-2017-3138 |
| Debian 12 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12.3 | DEBIAN-CVE-2017-3138 |
| Red Hat Enterprise Linux 7 | bind | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-export-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-export-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-libs-lite | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-license | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-lite-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 6 | bind | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 5 | bind | Not affected | ||
| Red Hat Enterprise Linux 5 | bind97 | Not affected | ||
| Alpine Linux 3.24 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.23 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.22 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.21 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.20 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.19 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.18 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.17 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.16 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.15 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.14 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.13 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.12 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.11 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.10 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.9 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.8 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.7 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.6 | bind | Fixed | 9.11.0_p5-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.5 | bind | Fixed | 9.10.4_p8-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.3 | bind | Fixed | 9.10.4_p8-r0 | ALPINE-CVE-2017-3138 |
| Alpine Linux 3.2 | bind | Fixed | 9.10.4_p8 | ALPINE-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.
- ISC BIND 9: affected: 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
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:
- https://security.gentoo.org/glsa/201708-01 (vendor-advisory)
- https://www.debian.org/security/2017/dsa-3854 (vendor-advisory)
References
- http://www.securitytracker.com/id/1038260
- http://www.securityfocus.com/bid/97657
- https://security.gentoo.org/glsa/201708-01
- https://security.netapp.com/advisory/ntap-20180802-0002/
- https://www.debian.org/security/2017/dsa-3854
- https://kb.isc.org/docs/aa-01471
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.