QID 355145

Date Published: 2023-05-29

QID 355145: Amazon Linux Security Advisory for bind : ALAS2023-2023-161

by flooding the target resolver with queries exploiting this flaw an attacker can significantly impair the resolvers performance, effectively denying legitimate clients access to the dns resolution service. (
( CVE-2022-2795) a flaw was found in the bind package, where the resolver can crash when stale cache and stale answers are enabled, option stale-answer-client-timeout is set to 0 and there is a stale cname in the cache for an incoming query.
By sending specific queries to the resolver, an attacker can cause named to crash. (
( CVE-2022-3080) sending a flood of dynamic dns updates may cause `named` to allocate large amounts of memory.
This, in turn, may cause `named` to exit due to a lack of free memory.
We are not aware of any cases where this has been exploited.
Memory is allocated prior to the checking of access permissions (acls) and is retained during the processing of a dynamic update from a client whose access credentials are accepted.
Memory allocated to clients that are not permitted to send updates is released immediately upon rejection.
The scope of this vulnerability is limited therefore to trusted clients who are permitted to make dynamic zone changes.
If a dynamic update is refused, memory will be released again very quickly.
Therefore it is only likely to be possible to degrade or stop `named` by sending a flood of unaccepted dynamic updates comparable in magnitude to a query flood intended to achieve the same detrimental outcome.
Bind 9.11 and earlier branches are also affected, but through exhaustion of internal resources rather than memory constraints.
This may reduce performance but should not be a significant problem for most servers.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-161 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-161 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-161.html