Amazon Linux 2023 : p7zip, p7zip-plugins (ALAS2023-2024-705)

high Nessus Plugin ID 205810

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-705 advisory.

The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains a heap-based buffer overflow that allows an attacker to overwrite two bytes at multiple offsets beyond the allocated buffer size:
buffer+512*i-2, for i=9, i=10, i=11, etc. (CVE-2023-52168)

The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains an out-of-bounds read that allows an attacker to read beyond the intended buffer. The bytes read beyond the intended buffer are presented as a part of a filename listed in the file system image. This has security relevance in some known web-service use cases where untrusted users can upload files and have them extracted by a server- side 7-Zip process. (CVE-2023-52169)

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 p7zip --releasever 2023.5.20240819' to update your system.

See Also

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

https://alas.aws.amazon.com/cve/html/CVE-2023-52168.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52169.html

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

Plugin Details

Severity: High

ID: 205810

File Name: al2023_ALAS2023-2024-705.nasl

Version: 1.1

Type: local

Agent: unix

Published: 8/19/2024

Updated: 8/19/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2023-52169

CVSS v3

Risk Factor: High

Base Score: 8.4

Temporal Score: 7.3

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

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

CVSS Score Source: CVE-2023-52168

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:p7zip-doc, p-cpe:/a:amazon:linux:p7zip, p-cpe:/a:amazon:linux:p7zip-plugins-debuginfo, p-cpe:/a:amazon:linux:p7zip-plugins, p-cpe:/a:amazon:linux:p7zip-debugsource, 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: 8/14/2024

Vulnerability Publication Date: 7/3/2024

Reference Information

CVE: CVE-2023-52168, CVE-2023-52169