CVEfocus › CVE database › CVE-2018-5741

CVE-2018-5741Update policies krb5-subdomain and ms-subdomain do not enforce controls promised in…

CVSS 6.5 MediumEPSS 3.5% (higher than 89% of CVEs)Published 2019-01-16Updated 2024-09-17Assigner: isc

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

23Fixed
2Fix pending
7Will not fix
19Not 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.04bind9Fix pendingUBUNTU-CVE-2018-5741
Ubuntu 16.04bind9Will 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.04bind9Fix pendingUBUNTU-CVE-2018-5741
Debian 14bind9Fixed1:9.11.5+dfsg-1DEBIAN-CVE-2018-5741
Debian 13bind9Fixed1:9.11.5+dfsg-1DEBIAN-CVE-2018-5741
Debian 12bind9Fixed1:9.11.5+dfsg-1DEBIAN-CVE-2018-5741
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.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-chrootFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-develFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-export-develFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-export-libsFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-libsFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-libs-liteFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-licenseFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-lite-develFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-pkcs11Fixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-pkcs11-develFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-pkcs11-libsFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-pkcs11-utilsFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-sdbFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-sdb-chrootFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 7bind-utilsFixed32:9.11.4-9.P2.el7RHSA-2019:2057
Red Hat Enterprise Linux 6bindWill not fix
Will not fix
Red Hat Enterprise Linux 6bind-chrootWill not fix
Will not fix
Red Hat Enterprise Linux 6bind-develWill not fix
Will not fix
Red Hat Enterprise Linux 6bind-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6bind-sdbWill not fix
Will not fix
Red Hat Enterprise Linux 6bind-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 5bindNot affected
Red Hat Enterprise Linux 5bind97Not affected
Alpine Linux 3.9bindFixed9.12.3-r0ALPINE-CVE-2018-5741
Alpine Linux 3.8bindFixed9.12.3-r0ALPINE-CVE-2018-5741
Alpine Linux 3.7bindFixed9.11.5-r0ALPINE-CVE-2018-5741
Alpine Linux 3.6bindFixed9.11.5-r0ALPINE-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.

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:

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.