CVEfocus › CVE database › CVE-2018-5740

CVE-2018-5740A flaw in the "deny-answer-aliases" feature can cause an assertion failure in named

CVSS 7.5 HighEPSS 60.2% (in the top 1% of all CVEs)Published 2019-01-16Updated 2024-09-16Assigner: isc

"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

46Fixed
1Will not fix
18Not 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 18.04bind9Fixed1:9.11.3+dfsg-1ubuntu1.2UBUNTU-CVE-2018-5740
Ubuntu 16.04bind9Fixed1:9.10.3.dfsg.P4-8ubuntu1.11UBUNTU-CVE-2018-5740
Ubuntu 14.04bind9Fixed1:9.9.5.dfsg-3ubuntu0.18UBUNTU-CVE-2018-5740
Debian 14bind9Fixed1:9.11.4.P1+dfsg-1DEBIAN-CVE-2018-5740
Debian 13bind9Fixed1:9.11.4.P1+dfsg-1DEBIAN-CVE-2018-5740
Debian 12bind9Fixed1:9.11.4.P1+dfsg-1DEBIAN-CVE-2018-5740
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-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-chrootFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-develFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-libsFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-libs-liteFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-licenseFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-lite-develFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-pkcs11Fixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-pkcs11-develFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-pkcs11-libsFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-pkcs11-utilsFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-sdbFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-sdb-chrootFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 7bind-utilsFixed32:9.9.4-61.el7_5.1RHSA-2018:2570
Red Hat Enterprise Linux 6bindFixed32:9.8.2-0.68.rc1.el6_10.1RHSA-2018:2571
Red Hat Enterprise Linux 6bind-chrootFixed32:9.8.2-0.68.rc1.el6_10.1RHSA-2018:2571
Red Hat Enterprise Linux 6bind-develFixed32:9.8.2-0.68.rc1.el6_10.1RHSA-2018:2571
Red Hat Enterprise Linux 6bind-libsFixed32:9.8.2-0.68.rc1.el6_10.1RHSA-2018:2571
Red Hat Enterprise Linux 6bind-sdbFixed32:9.8.2-0.68.rc1.el6_10.1RHSA-2018:2571
Red Hat Enterprise Linux 6bind-utilsFixed32:9.8.2-0.68.rc1.el6_10.1RHSA-2018:2571
Red Hat Enterprise Linux 5bindNot affected
Red Hat Enterprise Linux 5bind97Will not fix
Will not fix
Alpine Linux 3.24bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.23bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.22bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.21bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.20bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.19bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.18bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.17bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.16bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.15bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.14bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.13bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.12bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.11bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.10bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.9bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.8bindFixed9.12.2_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.7bindFixed9.11.4_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.6bindFixed9.11.4_p1-r0ALPINE-CVE-2018-5740
Alpine Linux 3.5bindFixed9.10.8_p1-r0ALPINE-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.

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:

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.