{"id":"CVE-2023-2828","published":"2023-06-21T16:26:07Z","modified":"2025-02-13T16:48:38Z","title":"named's configured cache size limit can be significantly exceeded","vendor":"ISC","product":"BIND 9","tier":"tail","description":{"text":"Every `named` instance configured to run as a recursive resolver maintains a cache database holding the responses to the queries it has recently sent to authoritative servers. The size limit for that cache database can be configured using the `max-cache-size` statement in the configuration file; it defaults to 90% of the total amount of memory available on the host. When the size of the cache reaches 7/8 of the configured limit, a cache-cleaning algorithm starts to remove expired and/or least-recently used RRsets from the cache, to keep memory use below the configured limit.\n\nIt has been discovered that the effectiveness of the cache-cleaning algorithm used in `named` can be severely diminished by querying the resolver for specific RRsets in a certain order, effectively allowing the configured `max-cache-size` limit to be significantly exceeded.\nThis issue affects BIND 9 versions 9.11.0 through 9.16.41, 9.18.0 through 9.18.15, 9.19.0 through 9.19.13, 9.11.3-S1 through 9.16.41-S1, and 9.18.11-S1 through 9.18.15-S1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03696,"percentile":0.89985,"provenance":"source"},"cwes":[],"references":[{"url":"https://kb.isc.org/docs/cve-2023-2828","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/06/21/6","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3K6AJK7RRSR53HRF5GGKPA6PDUDWOD2/","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5439","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SEFCEVCTYEMKTWA7V7EYPI5YQQ4JWDLI/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230703-0010/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00021.html","tags":[]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":18.0},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"isc","affectedVersions":[{"vendor":"ISC","product":"BIND 9","versions":[">= 9.11.0, <= 9.16.41",">= 9.18.0, <= 9.18.15",">= 9.19.0, <= 9.19.13",">= 9.11.3-S1, <= 9.16.41-S1",">= 9.18.11-S1, <= 9.18.15-S1"]}],"solutions":{"items":["Upgrade to the patched release most closely related to your current version of BIND 9: 9.16.42, 9.18.16, 9.19.14, 9.16.42-S1, or 9.18.16-S1."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["No workarounds known."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-12-06T18:36:28.183787Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-34279","exploited":false,"provenance":"source"}}