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

Published Jan 16, 2018
·
Updated

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.

Other sources

Improper sequencing during cleanup operations of upstream recursion fetch contexts in BIND can lead to a use-after-free error, triggering an assertion failure and crash in named.

Affected BIND versions acting as DNSSEC validating resolvers are currently known to crash with an assertion failure in netaddr.c due to this bug.

External References:

https://kb.isc.org/article/AA-01542

Upstream Patches:

ftp://ftp.isc.org/isc/bind9/9.9.11-P1/patches/CVE-2017-3145 ftp://ftp.isc.org/isc/bind9/9.10.6-P1/patches/CVE-2017-3145 ftp://ftp.isc.org/isc/bind9/9.11.2-P1/patches/CVE-2017-3145

— Red Hat

Affected Software

132 affected componentsFixes available
debian/bind9
1:9.11.5.P4+dfsg-5.1+deb10u71:9.11.5.P4+dfsg-5.1+deb10u91:9.16.44-1~deb11u11:9.18.19-1~deb12u11:9.19.17-1
redhat/bind<9.9.11
9.9.11
redhat/bind<9.10.6
9.10.6
redhat/bind<9.11.2
9.11.2
redhat/bind<9.12.0
9.12.0
ISC BIND>=9.4.0<=9.8.8
ISC BIND>=9.9.0<=9.9.11
ISC BIND>=9.10.0<=9.10.6
ISC BIND>=9.11.0<=9.11.2
ISC BIND=9.9.3-s1
ISC BIND=9.9.11-s1
ISC BIND=9.10.5-s1
ISC BIND=9.10.6-s1
ISC BIND=9.12.0-alpha1
ISC BIND=9.12.0-b1
ISC BIND=9.12.0-b2
ISC BIND=9.12.0-rc1
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=6.4
redhat Enterprise Linux Server Aus=6.5
redhat Enterprise Linux Server Aus=6.6
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Aus=7.3
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=6.7
redhat Enterprise Linux Server Eus=7.3
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=6.6
redhat Enterprise Linux Server Tus=7.2
redhat Enterprise Linux Server Tus=7.3
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
NetApp Data Ontap Edge
Juniper Junos=12.1x46-d76
Juniper Junos=12.3x48-d70
Juniper Junos=15.1x49-d140
Juniper Junos=17.4r2
Juniper Junos=18.1r2
Juniper Junos=18.2r1
Juniper SRX100
Juniper SRX110
Juniper SRX1400
Juniper SRX1500
Juniper SRX210
Juniper SRX220
Juniper SRX240
Juniper Srx240h2
Juniper SRX240m
Juniper SRX300
Juniper SRX320
Juniper SRX340
Juniper SRX3400
Juniper SRX345
Juniper SRX3600
Juniper Srx380
Juniper SRX4000
Juniper SRX4100
Juniper SRX4200
Juniper SRX4600
Juniper SRX5000
Juniper SRX5400
Juniper SRX550
Juniper Srx550 Hm
Juniper SRX550m
Juniper SRX5600
Juniper SRX5800
Juniper SRX650
All of the following
Any of the following
Juniper Junos=12.1x46-d76
Juniper Junos=12.3x48-d70
Juniper Junos=15.1x49-d140
Juniper Junos=17.4r2
Juniper Junos=18.1r2
Juniper Junos=18.2r1
Any of the following
Juniper SRX100
Juniper SRX110
Juniper SRX1400
Juniper SRX1500
Juniper SRX210
Juniper SRX220
Juniper SRX240
Juniper Srx240h2
Juniper SRX240m
Juniper SRX300
Juniper SRX320
Juniper SRX340
Juniper SRX3400
Juniper SRX345
Juniper SRX3600
Juniper Srx380
Juniper SRX4000
Juniper SRX4100
Juniper SRX4200
Juniper SRX4600
Juniper SRX5000
Juniper SRX5400
Juniper SRX550
Juniper Srx550 Hm
Juniper SRX550m
Juniper SRX5600
Juniper SRX5800
Juniper SRX650
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.10.0<9.10.6_p1-r0
9.10.6_p1-r0
alpine/bind>=9.10.0<9.10.6_p1-r0
9.10.6_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0
alpine/bind>=9.11.0<9.11.2_p1-r0
9.11.2_p1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.11.5.P4+dfsg-5.1+deb10u7Fixed in 1:9.11.5.P4+dfsg-5.1+deb10u9Fixed in 1:9.16.44-1~deb11u1Fixed in 1:9.18.19-1~deb12u1Fixed in 1:9.19.17-1
  2. Upgrade

    Upgrade redhat/bind to a version that resolves this vulnerability.

    Fixed in 9.9.11
  3. Upgrade

    Upgrade redhat/bind to a version that resolves this vulnerability.

    Fixed in 9.10.6
  4. Upgrade

    Upgrade redhat/bind to a version that resolves this vulnerability.

    Fixed in 9.11.2
  5. Upgrade

    Upgrade redhat/bind to a version that resolves this vulnerability.

    Fixed in 9.12.0
  6. Upgrade

    Upgrade alpine/bind to a version that resolves this vulnerability.

    Fixed in 9.11.2_p1-r0
  7. Upgrade

    Upgrade alpine/bind to a version that resolves this vulnerability.

    Fixed in 9.10.6_p1-r0
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.10.6-P1
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.10.6-S2
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.11.2-P1
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.12.0rc2
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.9.11-P1
  13. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.9.11-S2

Event History

Jan 16, 2018
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
RemedyDescriptionSeverityWeakness
Data Sourced
01:55 AM
DescriptionSeverityAffected Software
Jan 16, 2019
CVE Published
via MITRE·08:00 PM
Data Sourced
08:29 PM
Weakness
Data Sourced
via NVD·08:29 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:29 PM
DescriptionSeverity
Jun 10, 2021
Data Sourced
via Red Hat·02:12 PM
DescriptionSeverityAffected Software
Nov 17, 2026
Data Sourced
via OSV·06:30 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-3145?

CVE-2017-3145 is classified as a high severity vulnerability due to its potential to cause assertion failures and crashes in BIND.

2

How do I fix CVE-2017-3145?

To fix CVE-2017-3145, update BIND to the latest patched version as specified by your operating system provider.

3

What versions of BIND are affected by CVE-2017-3145?

CVE-2017-3145 affects BIND versions 9.0.0 to 9.8.x, 9.9.0 to 9.9.11, and 9.10.0 to 9.10.6 among others.

4

Is CVE-2017-3145 a use-after-free vulnerability?

Yes, CVE-2017-3145 is a use-after-free vulnerability which can lead to crashes of the BIND service.

5

How can I verify if my system is vulnerable to CVE-2017-3145?

You can verify vulnerability to CVE-2017-3145 by checking the BIND version installed on your system against the affected versions list.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203