Amazon Linux 2023 : c-ares, c-ares-devel (ALAS2023-2024-563)

medium Nessus Plugin ID 192445

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2024-563 advisory.

c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these configuration files has an embedded `NULL` character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer which may result in a crash. This issue is fixed in c-ares 1.27.0.
No known workarounds exist. (CVE-2024-25629)

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

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

Solution

Run 'dnf update c-ares --releasever 2023.4.20240319' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2024-563.html

https://alas.aws.amazon.com/cve/html/CVE-2024-25629.html

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

Plugin Details

Severity: Medium

ID: 192445

File Name: al2023_ALAS2023-2024-563.nasl

Version: 1.1

Type: local

Agent: unix

Published: 3/21/2024

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.5

Temporal Score: 3.3

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

CVSS Score Source: CVE-2024-25629

CVSS v3

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.9

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:c-ares, p-cpe:/a:amazon:linux:c-ares-devel, p-cpe:/a:amazon:linux:c-ares-debugsource, p-cpe:/a:amazon:linux:c-ares-debuginfo, cpe:/o:amazon:linux:2023

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/13/2024

Vulnerability Publication Date: 2/23/2024

Reference Information

CVE: CVE-2024-25629