{"schemaVersion":3,"id":"CVE-2018-5738","aliases":["ALPINE-CVE-2018-5738","UBUNTU-CVE-2018-5738","USN-3683-1","DEBIAN-CVE-2018-5738","CGA-fxgm-92mf-89wj","CGA-q343-j792-58wc"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-01-16T20:00:00.000Z","modified":"2024-09-16T22:20:36.711Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.1116,"percentile":0.95916,"severity":"medium","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.1116},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.10223,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.1116,"percentile":0.95916}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.10223,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.1116,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.1116,"percentile":0.95916}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"vendor":"alpine","product":"bind","name":"bind","label":"bind","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/bind","purlType":"apk","versions":[{"text":"< 9.12.2_p1-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 9.11.5_p4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.12.2_p1-r0 | < 9.11.5_p4-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"bind","name":"bind","label":"bind","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/bind","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"bind","name":"bind","label":"bind","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/bind","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"18.04","eol":{"isEol":true,"eolDate":"2023-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"18.04","label":"18.04 'Bionic Beaver' (LTS)","eolFrom":"2023-05-31T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"18.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"bind9","name":"bind9","label":"bind9","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/bind9","purlType":"deb","versions":[{"text":"< 1:9.11.3+dfsg-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:9.11.3+dfsg-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"bind9","name":"bind9","label":"bind9","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/bind9","purlType":"deb","versions":[{"text":"< 1:9.11.3+dfsg-1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:9.11.3+dfsg-1ubuntu1.1","eol":null,"hubHref":null},{"vendor":"isc","product":"bind","name":"BIND","label":"bind","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.9.12","noFixRecorded":false,"fixedIn":null},{"text":"9.9.12:s1","noFixRecorded":false,"fixedIn":null},{"text":"9.10.7","noFixRecorded":false,"fixedIn":null},{"text":"9.10.7:s1","noFixRecorded":false,"fixedIn":null},{"text":"9.11.3","noFixRecorded":false,"fixedIn":null},{"text":"9.11.3:s1","noFixRecorded":false,"fixedIn":null},{"text":"9.11.3:s2","noFixRecorded":false,"fixedIn":null},{"text":"9.12.0","noFixRecorded":false,"fixedIn":null},{"text":"9.12.0:a1","noFixRecorded":false,"fixedIn":null},{"text":"9.12.0:b1","noFixRecorded":false,"fixedIn":null},{"text":"9.12.0:b2","noFixRecorded":false,"fixedIn":null},{"text":"9.12.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"9.12.0:rc3","noFixRecorded":false,"fixedIn":null},{"text":"9.12.1","noFixRecorded":false,"fixedIn":null},{"text":"9.12.1:p1","noFixRecorded":false,"fixedIn":null},{"text":"9.12.1:p2","noFixRecorded":false,"fixedIn":null},{"text":"9.13.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.9.12 | 9.9.12:s1 | 9.10.7 | 9.10.7:s1 | 9.11.3 | 9.11.3:s1 | 9.11.3:s2 | 9.12.0 | 9.12.0:a1 | 9.12.0:b1 | 9.12.0:b2 | 9.12.0:rc1 | 9.12.0:rc3 | 9.12.1 | 9.12.1:p1 | 9.12.1:p2 | 9.13.0","eol":null,"hubHref":"/vendor/isc/bind"},{"vendor":"isc","product":"bind 9","name":"BIND 9","label":"bind 9","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"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.","noFixRecorded":false,"fixedIn":null}],"versionsText":"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.","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"bind-9","label":"BIND 9","category":"server-app"}},"hubHref":"/vendor/isc/bind_9"}],"affectedCount":8,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://usn.ubuntu.com/3683-1/","label":"usn.ubuntu.com/3683-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory","Advisory"]},{"url":"https://kb.isc.org/docs/aa-01616","label":"kb.isc.org/docs/aa-01616","hostname":"kb.isc.org","tags":["X Refsource CONFIRM","Mitigation","Vendor Advisory","Advisory"]},{"url":"http://www.securitytracker.com/id/1041115","label":"www.securitytracker.com/id/1041115","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory","Advisory"]},{"url":"https://security.gentoo.org/glsa/201903-13","label":"security.gentoo.org/glsa/201903-13","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory","Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20190830-0002/","label":"security.netapp.com/advisory/ntap-20190830-0002/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-5738","label":"security.alpinelinux.org/vuln/CVE-2018-5738","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5738","label":"ubuntu.com/security/CVE-2018-5738","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://kb.isc.org/article/AA-01616/0/CVE-2018-5738","label":"kb.isc.org/article/AA-01616/0/CVE-2018-5738","hostname":"kb.isc.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3683-1","label":"ubuntu.com/security/notices/USN-3683-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5738","label":"www.cve.org/CVERecord?id=CVE-2018-5738","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5738","label":"security-tracker.debian.org/tracker/CVE-2018-5738","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-GXP4-7H2R-HGP5","CGA-HQ54-9XC3-682F"]},"timeline":[{"kind":"published","date":"2019-01-16T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T22:20:36.711Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:34:50.747Z","stale":false,"partial":false}}