CVE-2017-3143An error in TSIG authentication can permit unauthorized dynamic updates
An attacker who is able to send and receive messages to an authoritative DNS server and who has knowledge of a valid TSIG key name for the zone and service being targeted may be able to manipulate BIND into accepting an unauthorized dynamic update. Affects BIND 9.4.0->9.8.8, 9.9.0->9.9.10-P1, 9.10.0->9.10.5-P1, 9.11.0->9.11.1-P1, 9.9.3-S1->9.9.10-S2, 9.10.5-S1->9.10.5-S2.
What to do
Likely to be exploited: EPSS gives a 18% 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.7 | UBUNTU-CVE-2017-3143 |
| Ubuntu 14.04 | bind9 | Fixed | 1:9.9.5.dfsg-3ubuntu0.15 | UBUNTU-CVE-2017-3143 |
| Debian 14 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12.4 | DEBIAN-CVE-2017-3143 |
| Debian 13 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12.4 | DEBIAN-CVE-2017-3143 |
| Debian 12 | bind9 | Fixed | 1:9.10.3.dfsg.P4-12.4 | DEBIAN-CVE-2017-3143 |
| Red Hat Enterprise Linux 7 | bind | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.9.4-50.el7_3.1 | RHSA-2017:1680 |
| Red Hat Enterprise Linux 6 | bind | Fixed | 32:9.8.2-0.62.rc1.el6_9.4 | RHSA-2017:1679 |
| Red Hat Enterprise Linux 6 | bind-chroot | Fixed | 32:9.8.2-0.62.rc1.el6_9.4 | RHSA-2017:1679 |
| Red Hat Enterprise Linux 6 | bind-devel | Fixed | 32:9.8.2-0.62.rc1.el6_9.4 | RHSA-2017:1679 |
| Red Hat Enterprise Linux 6 | bind-libs | Fixed | 32:9.8.2-0.62.rc1.el6_9.4 | RHSA-2017:1679 |
| Red Hat Enterprise Linux 6 | bind-sdb | Fixed | 32:9.8.2-0.62.rc1.el6_9.4 | RHSA-2017:1679 |
| Red Hat Enterprise Linux 6 | bind-utils | Fixed | 32:9.8.2-0.62.rc1.el6_9.4 | RHSA-2017:1679 |
| Red Hat Enterprise Linux 5 | bind | Not affected | ||
| Red Hat Enterprise Linux 5 | bind97 | Will not fix Will not fix | ||
| Alpine Linux 3.7 | bind | Fixed | 9.11.3-r0 | ALPINE-CVE-2017-3143 |
| Alpine Linux 3.6 | bind | Fixed | 9.11.1_p1-r1 | ALPINE-CVE-2017-3143 |
| Alpine Linux 3.5 | bind | Fixed | 9.10.4_p8-r1 | ALPINE-CVE-2017-3143 |
| Alpine Linux 3.4 | bind | Fixed | 9.10.4_p8-r1 | ALPINE-CVE-2017-3143 |
| Alpine Linux 3.3 | bind | Fixed | 9.10.4_p8-r1 | ALPINE-CVE-2017-3143 |
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.4.0->9.8.8, 9.9.0->9.9.10-P1, 9.10.0->9.10.5-P1, 9.11.0->9.11.1-P1, 9.9.3-S1->9.9.10-S2, 9.10.5-S1->9.10.5-S2
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.10-P2 BIND 9 version 9.10.5-P2 BIND 9 version 9.11.1-P2 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9 version 9.9.10-S3 BIND 9 version 9.10.5-S3
Workaround: The effects of this vulnerability can be mitigated by using Access Control Lists (ACLs) that require both address range validation and use of TSIG authentication in conjunction. For information on how to configure this type of compound authentication control, please see: https://kb.isc.org/article/AA-00723/0/Using-Access-Control-Lists-ACLs-with-both-addresses-and-keys.html. Administrators who have made use of named.conf option "update-policy local;" should patch their servers as soon as possible and if this is not possible should replace the update-policy configuration statement with an allow-update statement implementing the key requirement for updates but additionally imposing an IP ACL limitation, e.g.: allow-update { !{ !localhost; }; key local-ddns; };
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:1680 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:1679 (vendor-advisory)
- https://www.debian.org/security/2017/dsa-3904 (vendor-advisory)
References
- https://kb.isc.org/docs/aa-01503
- https://access.redhat.com/errata/RHSA-2017:1680
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03772en_us
- https://access.redhat.com/errata/RHSA-2017:1679
- http://www.securitytracker.com/id/1038809
- https://www.debian.org/security/2017/dsa-3904
- http://www.securityfocus.com/bid/99337
- https://security.netapp.com/advisory/ntap-20190830-0003/
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.