6.8
MEDIUM
CVE-2007-4559
Python tarfile Directory Traversal Vulnerability
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.

INFO

Published Date :

Aug. 28, 2007, 1:17 a.m.

Last Modified :

March 23, 2024, 3:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

8.6
Public PoC/Exploit Available at Github

CVE-2007-4559 has a 12 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2007-4559 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

YISF 2024 CTF-Web (Directory Traversal via ".tar" file, CVE-2007-4559), easy

Dockerfile Python HTML

Updated: 3 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : July 7, 2024, 4:37 p.m. This repo has been linked 1 different CVEs too.

Bypass for CVE-2007-4559 Trellix patch

Dockerfile Python

Updated: 4 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : May 3, 2024, 12:09 a.m. This repo has been linked 1 different CVEs too.

Python script to summarize the data retrieved from a search at CVEDetails.com

cve cvedetails scrapper scrapper-script summary

Python

Updated: 4 months ago
0 stars 0 fork 0 watcher
Born at : April 22, 2024, 7:50 p.m. This repo has been linked 7 different CVEs too.

Ini adalah repository kumpulan CVE v.5

allcve cve cvelist newcve

Updated: 1 month, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : March 24, 2024, 3:01 p.m. This repo has been linked 1214 different CVEs too.

None

Python

Updated: 1 year ago
0 stars 1 fork 1 watcher
Born at : Sept. 10, 2023, 9:49 p.m. This repo has been linked 1 different CVEs too.

None

Shell

Updated: 2 weeks, 2 days ago
3 stars 2 fork 2 watcher
Born at : March 23, 2023, 4:32 a.m. This repo has been linked 435 different CVEs too.

CVE-2007-4559 - Polemarch exploit

Shell Python Dockerfile Makefile C

Updated: 1 year, 9 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 21, 2022, 6:38 a.m. This repo has been linked 1 different CVEs too.

the repo to check tarfile vuln

Python Go

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 30, 2022, 10:17 p.m. This repo has been linked 1 different CVEs too.

Creosote is our solution to searching for the tarfile vulnerability described by CVE-2007-4559.

Python

Updated: 1 month, 1 week ago
83 stars 14 fork 14 watcher
Born at : Sept. 20, 2022, 5:03 p.m. This repo has been linked 1 different CVEs too.

나의 별에도 봄이 오면

Updated: 3 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : Dec. 24, 2021, 3:46 p.m. This repo has been linked 1 different CVEs too.

A Domain-Agnostic Benchmark for Self-Supervised Learning

Python Shell

Updated: 1 month, 2 weeks ago
107 stars 13 fork 13 watcher
Born at : Nov. 23, 2021, 10:30 p.m. This repo has been linked 1 different CVEs too.

Zip Slip Vulnerability (Arbitrary file write through archive extraction)

security vulnerabilities

Updated: 2 weeks, 2 days ago
728 stars 110 fork 110 watcher
Born at : April 18, 2018, 9:47 a.m. This repo has been linked 22 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2007-4559 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2007-4559 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 23, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/ [No types assigned]
  • CVE Modified by [email protected]

    Mar. 16, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/ [No types assigned]
  • CVE Modified by [email protected]

    Mar. 16, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/ [No types assigned]
  • CVE Modified by [email protected]

    Sep. 17, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202309-06 [No Types Assigned]
  • Modified Analysis by [email protected]

    Aug. 02, 2023

    Action Type Old Value New Value
    Changed Reference Type http://mail.python.org/pipermail/python-dev/2007-August/074290.html No Types Assigned http://mail.python.org/pipermail/python-dev/2007-August/074290.html Mailing List, Vendor Advisory
    Changed Reference Type http://mail.python.org/pipermail/python-dev/2007-August/074292.html Exploit http://mail.python.org/pipermail/python-dev/2007-August/074292.html Exploit, Mailing List
    Changed Reference Type http://secunia.com/advisories/26623 No Types Assigned http://secunia.com/advisories/26623 Broken Link
    Changed Reference Type http://www.vupen.com/english/advisories/2007/3022 No Types Assigned http://www.vupen.com/english/advisories/2007/3022 Broken Link
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=263261 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=263261 Issue Tracking
    Changed CPE Configuration OR *cpe:2.3:a:python_software_foundation:python:*:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.6.16 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.7.0 up to (excluding) 3.8.17 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.9.17 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.10.0 up to (excluding) 3.10.12 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.11.0 up to (excluding) 3.11.4
  • Initial Analysis by [email protected]

    Aug. 28, 2007

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2007-4559 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

9.34 }} 6.65%

score

0.94790

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability