CVE-2018-5741Update policies krb5-subdomain and ms-subdomain do not enforce controls promised in…
To provide fine-grained controls over the ability to use Dynamic DNS (DDNS) to update records in a zone, BIND 9 provides a feature called update-policy. Various rules can be configured to limit the types of updates that can be performed by a client, depending on the key used when sending the update request. Unfortunately, some rule types were not initially documented, and when documentation for them was added to the Administrator Reference Manual (ARM) in change #3112, the language that was added to the ARM at that time incorrectly described the behavior of two rule types, krb5-subdomain and ms-subdomain. This incorrect documentation could mislead operators into believing that policies they had configured were more restrictive than they actually were. This affects BIND versions prior to BIND 9.11.5 and BIND 9.12.3.
What to do
Fixed builds are available from Alpine, Debian, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
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 | Fix pending | UBUNTU-CVE-2018-5741 | |
| Ubuntu 16.04 | bind9 | Will not fix per the ISC advisory: "At the present time, ISC is not providing any code changing the behavior of the update-policy feature." deferring for now to see if the… | UBUNTU-CVE-2018-5741 | |
| Ubuntu 14.04 | bind9 | Fix pending | UBUNTU-CVE-2018-5741 | |
| Debian 14 | bind9 | Fixed | 1:9.11.5+dfsg-1 | DEBIAN-CVE-2018-5741 |
| Debian 13 | bind9 | Fixed | 1:9.11.5+dfsg-1 | DEBIAN-CVE-2018-5741 |
| Debian 12 | bind9 | Fixed | 1:9.11.5+dfsg-1 | DEBIAN-CVE-2018-5741 |
| 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.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-export-devel | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-export-libs | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.11.4-9.P2.el7 | RHSA-2019:2057 |
| Red Hat Enterprise Linux 6 | bind | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | bind-chroot | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | bind-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | bind-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | bind-sdb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | bind-utils | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | bind | Not affected | ||
| Red Hat Enterprise Linux 5 | bind97 | Not affected | ||
| Alpine Linux 3.9 | bind | Fixed | 9.12.3-r0 | ALPINE-CVE-2018-5741 |
| Alpine Linux 3.8 | bind | Fixed | 9.12.3-r0 | ALPINE-CVE-2018-5741 |
| Alpine Linux 3.7 | bind | Fixed | 9.11.5-r0 | ALPINE-CVE-2018-5741 |
| Alpine Linux 3.6 | bind | Fixed | 9.11.5-r0 | ALPINE-CVE-2018-5741 |
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 Versions prior to BIND 9.11.5 and BIND 9.12.3
Solution: At the time of public disclosure, ISC is not providing any code changing the behavior of the update-policy feature. While we believe that there are a few operators out there who are relying on the strictest interpretation permitted by the erroneous documentation, we have to balance that against changing the behavior of features in stable branches of BIND, including the 9.11 branch which is meant to be a feature-complete Extended Support Version of BIND 9. As a compromise between these conflicting priorities, we have decided that our best course of action is to disclose the error but leave the existing behavior of the krb5-subdomain and ms-subdomain policies as they are (while correcting the erroneous documentation). In maintenance releases issued during or after October 2018, the name field for ms-subdomain and krb5-subdomain will be corrected so that names lower than "." can be…
Workaround: To limit updates to a subset of a zone -- for example, "sub.example.com" -- create a new "sub.example.com" child zone beneath "example.com", and set the desired update-policy in the child zone rather than the parent.
Vendor advisories:
- https://security.gentoo.org/glsa/201903-13 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:2057 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00041.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00044.html (vendor-advisory)
References
- http://www.securityfocus.com/bid/105379
- http://www.securitytracker.com/id/1041674
- https://kb.isc.org/docs/cve-2018-5741
- https://security.gentoo.org/glsa/201903-13
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03927en_us
- https://access.redhat.com/errata/RHSA-2019:2057
- https://security.netapp.com/advisory/ntap-20190830-0001/
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00041.html
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00044.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.