CVE-2017-3135Combination of DNS64 and RPZ Can Lead to Crash
Under some conditions when using both DNS64 and RPZ to rewrite query responses, query processing can resume in an inconsistent state leading to either an INSIST assertion failure or an attempt to read through a NULL pointer. Affects BIND 9.8.8, 9.9.3-S1 -> 9.9.9-S7, 9.9.3 -> 9.9.9-P5, 9.9.10b1, 9.10.0 -> 9.10.4-P5, 9.10.5b1, 9.11.0 -> 9.11.0-P2, 9.11.1b1.
What to do
Likely to be exploited: EPSS gives a 17% 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.5 | UBUNTU-CVE-2017-3135 |
| Ubuntu 14.04 | bind9 | Fixed | 1:9.9.5.dfsg-3ubuntu0.13 | UBUNTU-CVE-2017-3135 |
| Debian 14 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12 | DEBIAN-CVE-2017-3135 |
| Debian 13 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12 | DEBIAN-CVE-2017-3135 |
| Debian 12 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12 | DEBIAN-CVE-2017-3135 |
| Red Hat Enterprise Linux 7 | bind | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.9.4-38.el7_3.2 | RHSA-2017:0276 |
| 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.5 | bind | Fixed | 9.10.4_p6-r0 | ALPINE-CVE-2017-3135 |
| Alpine Linux 3.4 | bind | Fixed | 9.10.4_p6-r0 | ALPINE-CVE-2017-3135 |
| Alpine Linux 3.3 | bind | Fixed | 9.10.4_p6-r0 | ALPINE-CVE-2017-3135 |
| Alpine Linux 3.2 | bind | Fixed | 9.10.4_p6-r0 | ALPINE-CVE-2017-3135 |
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: BIND 9 9.8.8, 9.9.3-S1 -> 9.9.9-S7, 9.9.3 -> 9.9.9-P5, 9.9.10b1, 9.10.0 -> 9.10.4-P5, 9.10.5b1, 9.11.0 -> 9.11.0-P2, 9.11.1b1
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-P6 BIND 9 version 9.10.4-P6 BIND 9 version 9.11.0-P3 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9 version 9.9.9-S8
Workaround: While it is possible to avoid the condition by removing either DNS64 or RPZ from the configuration, or by carefully restricting the contents of the policy zone, for an affected configuration the most practical and safest course of action is to upgrade to a version of BIND without this vulnerability.
Vendor advisories:
- https://security.gentoo.org/glsa/201708-01 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2017-0276.html (vendor-advisory)
- https://www.debian.org/security/2017/dsa-3795 (vendor-advisory)
References
- https://security.gentoo.org/glsa/201708-01
- http://rhn.redhat.com/errata/RHSA-2017-0276.html
- https://security.netapp.com/advisory/ntap-20180926-0005/
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03747en_us
- http://www.securityfocus.com/bid/96150
- http://www.securitytracker.com/id/1037801
- https://www.debian.org/security/2017/dsa-3795
- https://kb.isc.org/docs/aa-01453
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.