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

low Nessus Plugin ID 243483

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

A vulnerability has been identified in the libarchive library. This flaw can lead to a heap buffer over- read due to the size of a filter block potentially exceeding the Lempel-Ziv-Storer-Schieber (LZSS) window.
This means the library may attempt to read beyond the allocated memory buffer, which can result in unpredictable program behavior, crashes (denial of service), or the disclosure of sensitive information from adjacent memory regions. (CVE-2025-5915)

A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. (CVE-2025-5917)

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

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2025-1091.html

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

https://explore.alas.aws.amazon.com/CVE-2025-5915.html

https://explore.alas.aws.amazon.com/CVE-2025-5917.html

Plugin Details

Severity: Low

ID: 243483

File Name: al2023_ALAS2023-2025-1091.nasl

Version: 1.1

Type: local

Agent: unix

Published: 8/4/2025

Updated: 8/4/2025

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

Risk Information

VPR

Risk Factor: Low

Score: 2.5

CVSS v2

Risk Factor: Low

Base Score: 3.2

Temporal Score: 2.4

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

CVSS Score Source: CVE-2025-5915

CVSS v3

Risk Factor: Low

Base Score: 3.9

Temporal Score: 3.4

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

Temporal Vector: CVSS:3.0/E:U/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 Ease: No known exploits are available

Patch Publication Date: 8/4/2025

Vulnerability Publication Date: 6/9/2025

Reference Information

CVE: CVE-2025-5915, CVE-2025-5917

IAVA: 2025-A-0551