CVE-2023-2828: named's configured cache size limit can be significantly exceeded

Published Jun 20, 2023
·
Updated

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. It 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. This 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.

Other sources

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.

It 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.

Red Hat

ISC BIND is vulnerable to a denial of service, caused by a flaw that allows the named's configured cache size limit to be significantly exceeded. By querying the resolver for specific RRsets in a certain order, a remote attacker could exploit this vulnerability to exhaust all memory on the host.

IBM

Affected Software

45 affected componentsFixes available
ubuntu/bind9<1:9.11.3+dfsg-1ubuntu1.19+
1:9.11.3+dfsg-1ubuntu1.19+
ubuntu/bind9<1:9.9.5.dfsg-3ubuntu0.19+
1:9.9.5.dfsg-3ubuntu0.19+
ubuntu/bind9<1:9.10.3.dfsg.
1:9.10.3.dfsg.
ubuntu/bind9<1:9.16.1-0ubuntu2.15
1:9.16.1-0ubuntu2.15
ubuntu/bind9<1:9.18.12-0ubuntu0.22.04.2
1:9.18.12-0ubuntu0.22.04.2
ubuntu/bind9<1:9.18.12-0ubuntu0.22.10.2
1:9.18.12-0ubuntu0.22.10.2
ubuntu/bind9<1:9.18.12-1ubuntu1.1
1:9.18.12-1ubuntu1.1
ubuntu/bind9<9.16.42, <9.18.16, <9.19.14
9.16.429.18.169.19.14
ubuntu/bind9<1:9.18.12-1ubuntu2
1:9.18.12-1ubuntu2
debian/bind9<=1:9.11.5.P4+dfsg-5.1+deb10u7
1:9.11.5.P4+dfsg-5.1+deb10u101:9.16.44-1~deb11u11:9.16.48-11:9.18.19-1~deb12u11:9.18.24-11:9.19.21-1
redhat/bind<9.16.42
9.16.42
redhat/bind<9.18.16
9.18.16
redhat/bind<9.19.14
9.19.14
IBM QRadar SIEM<=7.5.0 - 7.5.0 UP6
ISC BIND>=9.11.0<=9.16.41
ISC BIND>=9.11.3<=9.16.41
ISC BIND>=9.18.0<=9.18.15
ISC BIND>=9.18.11<=9.18.15
ISC BIND>=9.19.0<=9.19.13
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Debian Debian Linux=12.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H410s Firmware
NetApp H410s
NetApp H410c Firmware
NetApp H410c
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H300s Firmware
NetApp H300s

Remediation

Information

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.

Event History

Jun 21, 2023
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·04:26 PM
Data Sourced
via MITRE·04:26 PM
RemedyDescriptionSeverity
Jan 12, 2024
Data Sourced
via Launchpad·12:17 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-2828?

CVE-2023-2828 is a vulnerability in the BIND DNS software that allows an attacker to bypass the cache validation feature and retrieve invalid data.

2

How does CVE-2023-2828 affect BIND DNS?

CVE-2023-2828 affects BIND DNS instances configured as recursive resolvers by allowing an attacker to retrieve invalid data from the cache.

3

What is the severity of CVE-2023-2828?

CVE-2023-2828 has a severity rating of high.

4

How can I fix CVE-2023-2828?

To fix CVE-2023-2828, you should upgrade to a patched version of BIND DNS.

5

Where can I find more information about CVE-2023-2828?

You can find more information about CVE-2023-2828 at the following references: [Reference 1](https://kb.isc.org/docs/cve-2023-2828), [Reference 2](http://www.openwall.com/lists/oss-security/2023/06/21/6), [Reference 3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3K6AJK7RRSR53HRF5GGKPA6PDUDWOD2/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203