CVEfocus › CVE database › CVE-2017-3145

CVE-2017-3145Improper fetch cleanup sequencing in the resolver can cause named to crash

CVSS 7.5 HighEPSS 27.7% (higher than 98% of CVEs)Published 2019-01-16Updated 2024-09-17Assigner: isc

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

46Fixed
1Will not fix
17Not 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.10UBUNTU-CVE-2017-3145
Ubuntu 14.04bind9Fixed1:9.9.5.dfsg-3ubuntu0.17UBUNTU-CVE-2017-3145
Debian 14bind9Fixed1:9.11.2.P1-1DEBIAN-CVE-2017-3145
Debian 13bind9Fixed1:9.11.2.P1-1DEBIAN-CVE-2017-3145
Debian 12bind9Fixed1:9.11.2.P1-1DEBIAN-CVE-2017-3145
Red Hat Enterprise Linux 8bindNot affected
Red Hat Enterprise Linux 8bind-chrootNot affected
Red Hat Enterprise Linux 8bind-develNot affected
Red Hat Enterprise Linux 8bind-export-develNot affected
Red Hat Enterprise Linux 8bind-export-libsNot affected
Red Hat Enterprise Linux 8bind-libsNot affected
Red Hat Enterprise Linux 8bind-libs-liteNot affected
Red Hat Enterprise Linux 8bind-licenseNot affected
Red Hat Enterprise Linux 8bind-lite-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11Not affected
Red Hat Enterprise Linux 8bind-pkcs11-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 8bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 8bind-sdbNot affected
Red Hat Enterprise Linux 8bind-sdb-chrootNot affected
Red Hat Enterprise Linux 8bind-utilsNot affected
Red Hat Enterprise Linux 8python3-bindNot affected
Red Hat Enterprise Linux 7bindFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-chrootFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-develFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-libsFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-libs-liteFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-licenseFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-lite-develFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-pkcs11Fixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-pkcs11-develFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-pkcs11-libsFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-pkcs11-utilsFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-sdbFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-sdb-chrootFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 7bind-utilsFixed32:9.9.4-51.el7_4.2RHSA-2018:0102
Red Hat Enterprise Linux 6bindFixed32:9.8.2-0.62.rc1.el6_9.5RHSA-2018:0101
Red Hat Enterprise Linux 6bind-chrootFixed32:9.8.2-0.62.rc1.el6_9.5RHSA-2018:0101
Red Hat Enterprise Linux 6bind-develFixed32:9.8.2-0.62.rc1.el6_9.5RHSA-2018:0101
Red Hat Enterprise Linux 6bind-libsFixed32:9.8.2-0.62.rc1.el6_9.5RHSA-2018:0101
Red Hat Enterprise Linux 6bind-sdbFixed32:9.8.2-0.62.rc1.el6_9.5RHSA-2018:0101
Red Hat Enterprise Linux 6bind-utilsFixed32:9.8.2-0.62.rc1.el6_9.5RHSA-2018:0101
Red Hat Enterprise Linux 5bindWill not fix
Will not fix
Alpine Linux 3.24bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.23bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.22bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.21bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.20bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.19bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.18bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.17bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.16bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.15bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.14bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.13bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.12bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.11bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.10bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.9bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.8bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.7bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.6bindFixed9.11.2_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.5bindFixed9.10.6_p1-r0ALPINE-CVE-2017-3145
Alpine Linux 3.4bindFixed9.10.6_p1-r0ALPINE-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.

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:

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.