Amazon Linux 2 : bind (ALAS-2023-2001)

medium Nessus Plugin ID 173204

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of bind installed on the remote host is prior to 9.11.4-26.P2. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-2001 advisory.

A cache poisoning vulnerability was found in BIND when using forwarders. Bogus NS records supplied by the forwarders may be cached and used by name if it needs to recurse for any reason. This issue causes it to obtain and pass on potentially incorrect answers. This flaw allows a remote attacker to manipulate cache results with incorrect records, leading to queries made to the wrong servers, possibly resulting in false information received on the client's end. (CVE-2021-25220)

By flooding the target resolver with queries exploiting this flaw an attacker can significantly impair the resolver's performance, effectively denying legitimate clients access to the DNS resolution service.
(CVE-2022-2795)

By spoofing the target resolver with responses that have a malformed ECDSA signature, an attacker can trigger a small memory leak. It is possible to gradually erode available memory to the point where named crashes for lack of resources. (CVE-2022-38177)

By spoofing the target resolver with responses that have a malformed EdDSA signature, an attacker can trigger a small memory leak. It is possible to gradually erode available memory to the point where named crashes for lack of resources. (CVE-2022-38178)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update bind' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2001.html

https://alas.aws.amazon.com/cve/html/CVE-2021-25220.html

https://alas.aws.amazon.com/cve/html/CVE-2022-2795.html

https://alas.aws.amazon.com/cve/html/CVE-2022-38177.html

https://alas.aws.amazon.com/cve/html/CVE-2022-38178.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 173204

File Name: al2_ALAS-2023-2001.nasl

Version: 1.2

Type: local

Agent: unix

Published: 3/22/2023

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2021-25220

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2022-2795

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:bind-pkcs11-utils, p-cpe:/a:amazon:linux:bind-pkcs11-devel, p-cpe:/a:amazon:linux:bind-export-libs, p-cpe:/a:amazon:linux:bind-libs-lite, p-cpe:/a:amazon:linux:bind-lite-devel, p-cpe:/a:amazon:linux:bind-export-devel, p-cpe:/a:amazon:linux:bind-sdb-chroot, p-cpe:/a:amazon:linux:bind-debuginfo, p-cpe:/a:amazon:linux:bind-chroot, p-cpe:/a:amazon:linux:bind-devel, p-cpe:/a:amazon:linux:bind-pkcs11-libs, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:bind-sdb, p-cpe:/a:amazon:linux:bind-license, p-cpe:/a:amazon:linux:bind-utils, p-cpe:/a:amazon:linux:bind-libs, p-cpe:/a:amazon:linux:bind, p-cpe:/a:amazon:linux:bind-pkcs11

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 3/17/2023

Vulnerability Publication Date: 3/16/2022

Reference Information

CVE: CVE-2021-25220, CVE-2022-2795, CVE-2022-38177, CVE-2022-38178

IAVA: 2022-A-0122-S, 2022-A-0387-S