CVE-2007-4559 is a critical directory traversal vulnerability affecting the tarfile module in Python, allowing attackers to overwrite arbitrary files by crafting TAR archives with ".." sequences in filenames. With a CVSS score of 9.8 (CRITICAL), this flaw is easily exploitable over a network without user interaction, leading to complete compromise of confidentiality, integrity, and availability. Although no public exploit code is listed, it has garnered significant community attention and media coverage, indicating its potential for exploitation and the widespread impact across numerous projects. Despite its age, recent discussions highlight its continued relevance and the challenges in fully patching older Python runtimes.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 3.6.16CPE matchmatch criteria | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | ||
>= 3.7.0, < 3.8.17CPE matchmatch criteria | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | ||
>= 3.9.0, < 3.9.17CPE matchmatch criteria | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | ||
>= 3.10.0, < 3.10.12CPE matchmatch criteria | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | ||
>= 3.11.0, < 3.11.4CPE matchmatch criteria | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
CVSS version used by this source: 2.0
AV:N/AC:M/Au:N/C:P/I:P/A:P
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
CVE-2007-4559
Dec 10, 2024CVE-2007-4559
Nov 12, 2024CVE-2007-4559
Oct 8, 2024HP ThinPro 8.1 SP 2 Security Updates
Apr 12, 2024HP ThinPro 8.1 SP 2 Security Updates
Apr 12, 2024CVE-2007-4559
Sep 8, 2020python: tarfile module directory traversal
Aug 24, 2007Directory 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.
Aug 2, 2007