CVE-2023-2828

NameCVE-2023-2828
DescriptionEvery `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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3498-1, DSA-5439-1, ELA-904-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bind9 (PTS)jessie, jessie (lts)1:9.9.5.dfsg-9+deb8u31fixed
stretch (security)1:9.10.3.dfsg.P4-12.3+deb9u12vulnerable
stretch (lts), stretch1:9.10.3.dfsg.P4-12.3+deb9u17fixed
buster, buster (lts)1:9.11.5.P4+dfsg-5.1+deb10u13fixed
buster (security)1:9.11.5.P4+dfsg-5.1+deb10u11fixed
bullseye1:9.16.50-1~deb11u2fixed
bullseye (security)1:9.16.50-1~deb11u1fixed
bookworm (security), bookworm1:9.18.28-1~deb12u2fixed
trixie1:9.20.4-2fixed
sid1:9.20.4-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bind9sourcejessie1:9.9.5.dfsg-9+deb8u29ELA-904-1
bind9sourcestretch1:9.10.3.dfsg.P4-12.3+deb9u14ELA-904-1
bind9sourcebuster1:9.11.5.P4+dfsg-5.1+deb10u9DLA-3498-1
bind9sourcebullseye1:9.16.42-1~deb11u1DSA-5439-1
bind9sourcebookworm1:9.18.16-1~deb12u1DSA-5439-1
bind9source(unstable)1:9.18.16-1

Notes

https://kb.isc.org/docs/cve-2023-2828
https://downloads.isc.org/isc/bind9/9.18.16/patches/0001-CVE-2023-2828.patch
https://downloads.isc.org/isc/bind9/9.16.42/patches/0001-CVE-2023-2828.patch

Search for package or bug name: Reporting problems