CVE-2018-5740A flaw in the "deny-answer-aliases" feature can cause an assertion failure in named
"deny-answer-aliases" is a little-used feature intended to help recursive server operators protect end users against DNS rebinding attacks, a potential method of circumventing the security model used by client browsers. However, a defect in this feature makes it easy, when the feature is in use, to experience an assertion failure in name.c. Affects BIND 9.7.0->9.8.8, 9.9.0->9.9.13, 9.10.0->9.10.8, 9.11.0->9.11.4, 9.12.0->9.12.2, 9.13.0->9.13.2.
What to do
Likely to be exploited: EPSS gives a 60% 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 18.04 | bind9 | Fixed | 1:9.11.3+dfsg-1ubuntu1.2 | UBUNTU-CVE-2018-5740 |
| Ubuntu 16.04 | bind9 | Fixed | 1:9.10.3.dfsg.P4-8ubuntu1.11 | UBUNTU-CVE-2018-5740 |
| Ubuntu 14.04 | bind9 | Fixed | 1:9.9.5.dfsg-3ubuntu0.18 | UBUNTU-CVE-2018-5740 |
| Debian 14 | bind9 | Fixed | 1:9.11.4.P1+dfsg-1 | DEBIAN-CVE-2018-5740 |
| Debian 13 | bind9 | Fixed | 1:9.11.4.P1+dfsg-1 | DEBIAN-CVE-2018-5740 |
| Debian 12 | bind9 | Fixed | 1:9.11.4.P1+dfsg-1 | DEBIAN-CVE-2018-5740 |
| 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-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.9.4-61.el7_5.1 | RHSA-2018:2570 |
| Red Hat Enterprise Linux 6 | bind | Fixed | 32:9.8.2-0.68.rc1.el6_10.1 | RHSA-2018:2571 |
| Red Hat Enterprise Linux 6 | bind-chroot | Fixed | 32:9.8.2-0.68.rc1.el6_10.1 | RHSA-2018:2571 |
| Red Hat Enterprise Linux 6 | bind-devel | Fixed | 32:9.8.2-0.68.rc1.el6_10.1 | RHSA-2018:2571 |
| Red Hat Enterprise Linux 6 | bind-libs | Fixed | 32:9.8.2-0.68.rc1.el6_10.1 | RHSA-2018:2571 |
| Red Hat Enterprise Linux 6 | bind-sdb | Fixed | 32:9.8.2-0.68.rc1.el6_10.1 | RHSA-2018:2571 |
| Red Hat Enterprise Linux 6 | bind-utils | Fixed | 32:9.8.2-0.68.rc1.el6_10.1 | RHSA-2018:2571 |
| Red Hat Enterprise Linux 5 | bind | Not affected | ||
| Red Hat Enterprise Linux 5 | bind97 | Will not fix Will not fix | ||
| Alpine Linux 3.24 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.23 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.22 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.21 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.20 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.19 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.18 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.17 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.16 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.15 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.14 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.13 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.12 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.11 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.10 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.9 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.8 | bind | Fixed | 9.12.2_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.7 | bind | Fixed | 9.11.4_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.6 | bind | Fixed | 9.11.4_p1-r0 | ALPINE-CVE-2018-5740 |
| Alpine Linux 3.5 | bind | Fixed | 9.10.8_p1-r0 | ALPINE-CVE-2018-5740 |
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.7.0->9.8.8, 9.9.0->9.9.13, 9.10.0->9.10.8, 9.11.0->9.11.4, 9.12.0->9.12.2, 9.13.0->9.13.2
Solution: Most operators will not need to make any changes unless they are using the "deny-answer-aliases" feature (which is described in the BIND 9 Adminstrator Reference Manual section 6.2.) "deny-answer-aliases" is off by default; only configurations which explicitly enable it can be affected by this defect. If you are using "deny-answer-aliases", upgrade to the patched release most closely related to your current version of BIND. 9.9.13-P1 9.10.8-P1 9.11.4-P1 9.12.2-P1 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. 9.11.3-S3
Workaround: This vulnerability can be avoided by disabling the "deny-answer-aliases" feature if it is in use.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:2570 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2571 (vendor-advisory)
- https://usn.ubuntu.com/3769-2/ (vendor-advisory)
- https://usn.ubuntu.com/3769-1/ (vendor-advisory)
- https://security.gentoo.org/glsa/201903-13 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00027.html (vendor-advisory)
References
- http://www.securityfocus.com/bid/105055
- https://lists.debian.org/debian-lts-announce/2018/08/msg00033.html
- https://access.redhat.com/errata/RHSA-2018:2570
- https://access.redhat.com/errata/RHSA-2018:2571
- https://usn.ubuntu.com/3769-2/
- http://www.securitytracker.com/id/1041436
- https://security.netapp.com/advisory/ntap-20180926-0003/
- https://kb.isc.org/docs/aa-01639
- https://usn.ubuntu.com/3769-1/
- https://security.gentoo.org/glsa/201903-13
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00027.html
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00026.html
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03927en_us
- https://lists.debian.org/debian-lts-announce/2021/11/msg00001.html
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.