Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

CVE-2007-4559

Public on 2007-08-28
Modified on 2024-05-29
Description

Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot) sequence in filenames in a TAR archive, a related issue to CVE-2001-1267.

Severity
Medium
See what this means
CVSS v3 Base Score
5.5
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Core python 2025-03-26 19:24 ALAS2-2025-2816
Amazon Linux 2 - Core python-pip 2025-03-26 19:24 ALAS2-2025-2814
Amazon Linux 2023 python-pip 2025-03-26 20:44 ALAS2023-2025-923
Amazon Linux 2 - Core python3 2025-03-26 19:24 ALAS2-2025-2815
Amazon Linux 2023 python3.11 2025-01-30 03:53 ALAS2023-2025-829
Amazon Linux 2023 python3.11-pip 2025-03-26 20:44 ALAS2023-2025-924
Amazon Linux 2023 python3.9 2024-12-12 20:19 ALAS2023-2024-790
Amazon Linux 2 - Python3.8 Extra python38 2024-11-08 17:57 ALAS2PYTHON3.8-2024-016
Amazon Linux 2 - Python3.8 Extra python38-pip 2025-03-26 19:21 ALAS2PYTHON3.8-2025-018

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD CVSSv2 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P