CVE-2017-3145Improper fetch cleanup sequencing in the resolver can cause named to crash
BIND was improperly sequencing cleanup operations on upstream recursion fetch contexts, leading in some cases to a use-after-free error that can trigger an assertion failure and crash in named. Affects BIND 9.0.0 to 9.8.x, 9.9.0 to 9.9.11, 9.10.0 to 9.10.6, 9.11.0 to 9.11.2, 9.9.3-S1 to 9.9.11-S1, 9.10.5-S1 to 9.10.6-S1, 9.12.0a1 to 9.12.0rc1.
What to do
Likely to be exploited: EPSS gives a 28% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Red Hat, 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.10 | UBUNTU-CVE-2017-3145 |
| Ubuntu 14.04 | bind9 | Fixed | 1:9.9.5.dfsg-3ubuntu0.17 | UBUNTU-CVE-2017-3145 |
| Debian 14 | bind9 | Fixed | 1:9.11.2.P1-1 | DEBIAN-CVE-2017-3145 |
| Debian 13 | bind9 | Fixed | 1:9.11.2.P1-1 | DEBIAN-CVE-2017-3145 |
| Debian 12 | bind9 | Fixed | 1:9.11.2.P1-1 | DEBIAN-CVE-2017-3145 |
| Red Hat Enterprise Linux 8 | bind | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-export-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-export-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-libs-lite | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-license | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-lite-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11 | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-sdb-chroot | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-bind | Not affected | ||
| Red Hat Enterprise Linux 7 | bind | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.9.4-51.el7_4.2 | RHSA-2018:0102 |
| Red Hat Enterprise Linux 6 | bind | Fixed | 32:9.8.2-0.62.rc1.el6_9.5 | RHSA-2018:0101 |
| Red Hat Enterprise Linux 6 | bind-chroot | Fixed | 32:9.8.2-0.62.rc1.el6_9.5 | RHSA-2018:0101 |
| Red Hat Enterprise Linux 6 | bind-devel | Fixed | 32:9.8.2-0.62.rc1.el6_9.5 | RHSA-2018:0101 |
| Red Hat Enterprise Linux 6 | bind-libs | Fixed | 32:9.8.2-0.62.rc1.el6_9.5 | RHSA-2018:0101 |
| Red Hat Enterprise Linux 6 | bind-sdb | Fixed | 32:9.8.2-0.62.rc1.el6_9.5 | RHSA-2018:0101 |
| Red Hat Enterprise Linux 6 | bind-utils | Fixed | 32:9.8.2-0.62.rc1.el6_9.5 | RHSA-2018:0101 |
| Red Hat Enterprise Linux 5 | bind | Will not fix Will not fix | ||
| Alpine Linux 3.24 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.23 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.22 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.21 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.20 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.19 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.18 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.17 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.16 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.15 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.14 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.13 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.12 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.11 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.10 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.9 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.8 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.7 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.6 | bind | Fixed | 9.11.2_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.5 | bind | Fixed | 9.10.6_p1-r0 | ALPINE-CVE-2017-3145 |
| Alpine Linux 3.4 | bind | Fixed | 9.10.6_p1-r0 | ALPINE-CVE-2017-3145 |
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.0.0 to 9.8.x, 9.9.0 to 9.9.11, 9.10.0 to 9.10.6, 9.11.0 to 9.11.2, 9.9.3-S1 to 9.9.11-S1, 9.10.5-S1 to 9.10.6-S1, 9.12.0a1 to 9.12.0rc1
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.11-P1 BIND 9 version 9.10.6-P1 BIND 9 version 9.11.2-P1 BIND 9 version 9.12.0rc2 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9 version 9.9.11-S2 BIND 9 version 9.10.6-S2
Workaround: If an operator is experiencing crashes due to this, temporarily disabling DNSSEC validation can be used to avoid the known problematic code path while replacement builds are prepared.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:0102 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0487 (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4089 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0488 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:0101 (vendor-advisory)
- https://supportportal.juniper.net/s/article/2018-07-Security-Bulletin-SRX-Series-Vulnerab… (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2018:0102
- https://access.redhat.com/errata/RHSA-2018:0487
- https://www.debian.org/security/2018/dsa-4089
- https://access.redhat.com/errata/RHSA-2018:0488
- https://access.redhat.com/errata/RHSA-2018:0101
- http://www.securitytracker.com/id/1040195
- https://kb.isc.org/docs/aa-01542
- http://www.securityfocus.com/bid/102716
- https://lists.debian.org/debian-lts-announce/2018/01/msg00029.html
- https://security.netapp.com/advisory/ntap-20180117-0003/
- https://supportportal.juniper.net/s/article/2018-07-Security-Bulletin-SRX-Series-Vulnerabilities-in-ISC-BIND-named
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.