Resource Exhaustion Affecting bind-dlz-sqlite3 package, versions <32:9.16.48-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-BINDDLZSQLITE3-6394240
  • published6 Mar 2024
  • disclosed13 Feb 2024

Introduced: 13 Feb 2024

CVE-2023-6516  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 bind-dlz-sqlite3 to version 32:9.16.48-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-550.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bind-dlz-sqlite3 package and not the bind-dlz-sqlite3 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

To keep its cache database efficient, named running as a recursive resolver occasionally attempts to clean up the database. It uses several methods, including some that are asynchronous: a small chunk of memory pointing to the cache element that can be cleaned up is first allocated and then queued for later processing. It was discovered that if the resolver is continuously processing query patterns triggering this type of cache-database maintenance, named may not be able to handle the cleanup events in a timely manner. This in turn enables the list of queued cleanup events to grow infinitely large over time, allowing the configured max-cache-size limit to be significantly exceeded. This issue affects BIND 9 versions 9.16.0 through 9.16.45 and 9.16.8-S1 through 9.16.45-S1.

CVSS Scores

version 3.1