python-libarchive Python Library <= 4.2.1 Directory Traversal (CVE-2024-55587)

high Nessus Plugin ID 213287

Synopsis

A Python library installed on the remote host is affected by a directory traversal vulnerability.

Description

The version of the python-libarchive Python library that is installed on the remote host is 4.2.1 or prior.
It is, therefore, affected by a directory traversal vulnerability. python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.

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

Solution

Upgrade to a version of python-libarchive higher than 4.2.1.

See Also

https://github.com/smartfile/python-libarchive/issues/42

Plugin Details

Severity: High

ID: 213287

File Name: python-libarchive_CVE-2024-55587.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 12/20/2024

Updated: 12/20/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

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

CVSS Score Source: CVE-2024-55587

CVSS v3

Risk Factor: High

Base Score: 8.8

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

Vulnerability Information

CPE: cpe:/a:python:python-libarchive

Patch Publication Date: 12/11/2024

Vulnerability Publication Date: 12/11/2024

Reference Information

CVE: CVE-2024-55587

IAVA: 2024-A-0834