CVE-2018-5738
published medium CVSS 3.0 · 5.3Some versions of BIND can improperly permit recursive query service to unauthorized clients
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ISC | — | BIND 99.9.12, 9.10.7, 9.11.3, 9.12.0->9.12.1-P2, the development release 9.13.0, and also releases 9.9.12-S1, 9.10.7-S1, 9.11.3-S1, and 9.11.3-S2 from BIND 9 Supported Preview Edition. | Affected | Not stated | isc |
| Alpine Linux | edge | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Ubuntu | bionic | bind9 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Alpine Linux | v3.10 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.11 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.12 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.13 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.14 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.15 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.16 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.17 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.18 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.19 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.20 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.21 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.22 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.23 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.24 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Alpine Linux | v3.6 | bind | Fixed | 9.11.5_p4-r0 | Package fix record |
| Alpine Linux | v3.7 | bind | Fixed | 9.11.5_p4-r0 | Package fix record |
| Alpine Linux | v3.9 | bind | Fixed | 9.12.2_p1-r0 | Package fix record |
| Ubuntu | bionic | bind9-host | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | bind9utils | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | dnsutils | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libbind9-160 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libdns-export1100 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libdns1100 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libirs-export160 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libirs160 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libisc-export169 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libisc169 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libisccc-export160 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libisccc160 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libisccfg-export160 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | libisccfg160 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
| Ubuntu | bionic | liblwres160 | Advisory build | 1:9.11.3+dfsg-1ubuntu1.1 | USN-3683-1 |
Description
Change #4777 (introduced in October 2017) introduced an unforeseen issue in releases which were issued after that date, affecting which clients are permitted to make recursive queries to a BIND nameserver. The intended (and documented) behavior is that if an operator has not specified a value for the "allow-recursion" setting, it SHOULD default to one of the following: none, if "recursion no;" is set in named.conf; a value inherited from the "allow-query-cache" or "allow-query" settings IF "recursion yes;" (the default for that setting) AND match lists are explicitly set for "allow-query-cache" or "allow-query" (see the BIND9 Administrative Reference Manual section 6.2 for more details); or the intended default of "allow-recursion {localhost; localnets;};" if "recursion yes;" is in effect and no values are explicitly set for "allow-query-cache" or "allow-query". However, because of the regression introduced by change #4777, it is possible when "recursion yes;" is in effect and no match list values are provided for "allow-query-cache" or "allow-query" for the setting of "allow-recursion" to inherit a setting of all hosts from the "allow-query" setting default, improperly permitting recursion to all clients. Affects BIND 9.9.12, 9.10.7, 9.11.3, 9.12.0->9.12.1-P2, the development release 9.13.0, and also releases 9.9.12-S1, 9.10.7-S1, 9.11.3-S1, and 9.11.3-S2 from BIND 9 Supported Preview Edition.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- isc · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ISC | BIND 9 | 9.9.12, 9.10.7, 9.11.3, 9.12.0->9.12.1-P2, the development release 9.13.0, and also releases 9.9.12-S1, 9.10.7-S1, 9.11.3-S1, and 9.11.3-S2 from BIND 9 Supported Preview Edition. (affected) | isc · cna |
Weaknesses
1- There are several potential problems which can be caused by improperly permitting recursive service to unauthorized clients, including: Additional queries from unauthorized clients may increase the load on a server, possibly degrading service to authorized clients. Allowing queries from unauthorized clients can potentially allow a server to be co-opted for use in DNS reflection attacks. An attacker may be able to deduce which queries a server has previously serviced by examining the results of queries answered from the cache, potentially leaking private information about what queries have been performed.
References
5- 1041115 http://www.securitytracker.com/id/1041115
- https://kb.isc.org/docs/aa-01616
- GLSA-201903-13 https://security.gentoo.org/glsa/201903-13
- https://security.netapp.com/advisory/ntap-20190830-0002/
- USN-3683-1 https://usn.ubuntu.com/3683-1/
Provider assertions
2isc · cna
Some versions of BIND can improperly permit recursive query service to unauthorized clients
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1ecdd5fbf2105fa8e3811526fd3f4eb3d7b46bf478747a40c82392cbcb35e8e4
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record