CVE-2007-4559

9.8 CRITICAL
Published: August 28, 2007 Modified: April 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://mail.python.org/pipermail/python-dev/2007-August/074290.html
Source: cve@mitre.org
Mailing List Vendor Advisory
http://secunia.com/advisories/26623
Source: cve@mitre.org
Broken Link
http://www.vupen.com/english/advisories/2007/3022
Source: cve@mitre.org
Broken Link
https://bugzilla.redhat.com/show_bug.cgi?id=263261
Source: cve@mitre.org
Issue Tracking
http://mail.python.org/pipermail/python-dev/2007-August/074290.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Vendor Advisory
http://mail.python.org/pipermail/python-dev/2007-August/074292.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Mailing List
http://secunia.com/advisories/26623
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://www.vupen.com/english/advisories/2007/3022
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
https://bugzilla.redhat.com/show_bug.cgi?id=263261
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
https://security.gentoo.org/glsa/202309-06
Source: af854a3a-2127-422b-91ae-364da2661108

21 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
89.0%
100th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

python