cbcvebase.
CVE-2023-2828
published 2023-06-21

CVE-2023-2828: 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…

high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
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.

Affected

29 ranges· showing 25
VendorProductVersion rangeFixed in
debianbind9< bind9 1:9.18.16-1~deb12u1 (bookworm)bind9 1:9.18.16-1~deb12u1 (bookworm)
debiandebian_linux
debiandebian_linux
debiandebian_linux
fedoraprojectfedora
fedoraprojectfedora
github.comminio_console>= 0 < 0.28.00.28.0
iscbind9.11.0 – 9.16.41
iscbind9.11.3 – 9.16.41
iscbind9.18.0 – 9.18.15
iscbind9.18.11 – 9.18.15
iscbind9.19.0 – 9.19.13
iscbind9>= 0 < 1:9.16.42-1~deb11u11:9.16.42-1~deb11u1
iscbind9>= 0 < 1:9.18.16-1~deb12u11:9.18.16-1~deb12u1
iscbind9>= 0 < 1:9.18.16-11:9.18.16-1
iscbind9>= 0 < 1:9.18.16-11:9.18.16-1
iscbind9>= 0 < 1:9.16.1-0ubuntu2.151:9.16.1-0ubuntu2.15
iscbind9>= 0 < 1:9.18.12-0ubuntu0.22.04.21:9.18.12-0ubuntu0.22.04.2
iscbind9>= 0 < 1:9.9.5.dfsg-3ubuntu0.19+esm101:9.9.5.dfsg-3ubuntu0.19+esm10
iscbind9>= 0 < 1:9.10.3.dfsg.P4-8ubuntu1.19+esm61:9.10.3.dfsg.P4-8ubuntu1.19+esm6
iscbind9>= 0 < 1:9.11.3+dfsg-1ubuntu1.19+esm11:9.11.3+dfsg-1ubuntu1.19+esm1
iscbind_99.11.0 – 9.16.41
iscbind_99.11.3-S1 – 9.16.41-S1
iscbind_99.18.0 – 9.18.15
iscbind_99.18.11-S1 – 9.18.15-S1

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH