Amazon Linux 2023 : bsdcat, bsdcpio, bsdtar (ALAS2023-2025-1022)

critical Nessus Plugin ID 240326

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-2025-1022 advisory.

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition. (CVE-2025-5914)

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 libarchive --releasever 2023.7.20250623' to update your system.

See Also

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

https://alas.aws.amazon.com/cve/html/CVE-2025-5914.html

https://alas.aws.amazon.com/AL2023/ALAS-2025-1022.html

Plugin Details

Severity: Critical

ID: 240326

File Name: al2023_ALAS2023-2025-1022.nasl

Version: 1.1

Type: local

Agent: unix

Published: 6/23/2025

Updated: 6/23/2025

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2025-5914

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:bsdcat-debuginfo, p-cpe:/a:amazon:linux:libarchive-debuginfo, p-cpe:/a:amazon:linux:libarchive-devel, p-cpe:/a:amazon:linux:libarchive-debugsource, p-cpe:/a:amazon:linux:bsdcat, p-cpe:/a:amazon:linux:bsdunzip, p-cpe:/a:amazon:linux:bsdtar, p-cpe:/a:amazon:linux:bsdunzip-debuginfo, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:libarchive, p-cpe:/a:amazon:linux:bsdcpio-debuginfo, p-cpe:/a:amazon:linux:bsdcpio, p-cpe:/a:amazon:linux:bsdtar-debuginfo

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

Exploit Available: true

Exploit Ease: No known exploits are available

Patch Publication Date: 6/23/2025

Vulnerability Publication Date: 6/9/2025

Reference Information

CVE: CVE-2025-5914