Amazon Linux 2023 : libdwarf, libdwarf-devel, libdwarf-static (ALAS2023-2024-579)

high Nessus Plugin ID 192887

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2024-579 advisory.

2024-10-24: CVE-2024-31745 was added to this advisory.

In a multiply-corrupted DWARF object libdwarf may try to dealloc(free) an allocation twice.Results are unpredictable and various. This has been a possibility since we added code to prevent leaks when generating 'unattached' Dwarf_Error records (where there is no Dwarf_Debug available at the point of error).The problem was introduced in libdwarf-0.1.0 in 2021. (CVE-2024-2002)

Libdwarf v0.9.1 was discovered to contain a heap use-after-free via the dw_empty_errlist_item function at /libdwarf/dwarf_alloc.c. (CVE-2024-31745)

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 'dnf update libdwarf --releasever 2023.4.20240401' to update your system.

See Also

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

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

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

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

Plugin Details

Severity: High

ID: 192887

File Name: al2023_ALAS2023-2024-579.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/3/2024

Updated: 10/28/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2024-2002

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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:libdwarf-debuginfo, p-cpe:/a:amazon:linux:libdwarf-tools-debuginfo, p-cpe:/a:amazon:linux:libdwarf-static, p-cpe:/a:amazon:linux:libdwarf, p-cpe:/a:amazon:linux:libdwarf-tools, p-cpe:/a:amazon:linux:libdwarf-debugsource, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:libdwarf-devel

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

Vulnerability Publication Date: 3/18/2024

Reference Information

CVE: CVE-2024-2002, CVE-2024-31745