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 :

Jan. 17, 2025, 3:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2007-4559 has a 11 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
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2007-4559.

URL Resource
http://mail.python.org/pipermail/python-dev/2007-August/074290.html Mailing List Vendor Advisory
http://mail.python.org/pipermail/python-dev/2007-August/074292.html Exploit Mailing List
http://secunia.com/advisories/26623 Broken Link
http://www.vupen.com/english/advisories/2007/3022 Broken Link
https://bugzilla.redhat.com/show_bug.cgi?id=263261 Issue Tracking
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/
https://security.gentoo.org/glsa/202309-06
http://mail.python.org/pipermail/python-dev/2007-August/074290.html Mailing List Vendor Advisory
http://mail.python.org/pipermail/python-dev/2007-August/074292.html Exploit Mailing List
http://secunia.com/advisories/26623 Broken Link
http://www.vupen.com/english/advisories/2007/3022 Broken Link
https://bugzilla.redhat.com/show_bug.cgi?id=263261 Issue Tracking
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/
https://lists.fedoraproject.org/archives/list/[email protected]/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/
https://lists.fedoraproject.org/archives/list/[email protected]/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/
https://lists.fedoraproject.org/archives/list/[email protected]/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/
https://security.gentoo.org/glsa/202309-06

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: 6 months, 1 week 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: 11 months 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: 10 months, 1 week 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: 7 months, 4 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, 6 months 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.

CVE-2007-4559 - Polemarch exploit

Shell Python Dockerfile Makefile C

Updated: 2 years, 3 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: 2 years, 6 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: 2 months, 3 weeks ago
84 stars 14 fork 14 watcher
Born at : Sept. 20, 2022, 5:03 p.m. This repo has been linked 1 different CVEs too.

나의 별에도 봄이 오면

Updated: 9 months, 3 weeks 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: 7 months, 4 weeks ago
107 stars 12 fork 12 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 months, 1 week ago
753 stars 115 fork 115 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.

  • tripwire.com
VERT Threat Alert: February 2025 Patch Tuesday Analysis

Today’s VERT Alert addresses Microsoft’s February 2025 Security Updates. VERT is actively working on coverage for these vulnerabilities and expects to ship ASPL-1143 as soon as coverage is completed.I ... Read more

Published Date: Feb 11, 2025 (1 month, 3 weeks ago)
  • tripwire.com
VERT Threat Alert: August 2024 Patch Tuesday Analysis

Today’s VERT Alert addresses Microsoft’s August 2024 Security Updates. VERT is actively working on coverage for these vulnerabilities and expects to ship ASPL-1119 as soon as coverage is completed.CVE ... Read more

Published Date: Aug 13, 2024 (7 months, 3 weeks ago)

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 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jan. 17, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-22
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://mail.python.org/pipermail/python-dev/2007-August/074290.html
    Added Reference http://mail.python.org/pipermail/python-dev/2007-August/074292.html
    Added Reference http://secunia.com/advisories/26623
    Added Reference http://www.vupen.com/english/advisories/2007/3022
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=263261
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/
    Added Reference https://security.gentoo.org/glsa/202309-06
  • 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.

93.02 }} 6.08%

score

0.99778

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability