CVE-2007-4559

CRITICALCVSS 9.8/10EPSS 27.10%

Last modified

CVE-2007-4559 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 27.10% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
27.10%

97.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PythonPython< 3.6.16
PythonPython>= 3.7.0, < 3.8.17
PythonPython>= 3.9.0, < 3.9.17
PythonPython>= 3.10.0, < 3.10.12
PythonPython>= 3.11.0, < 3.11.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2007-4559?
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.
How severe is CVE-2007-4559?
CVE-2007-4559 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 27.10% probability of exploitation in the next 30 days.
How do I fix CVE-2007-4559?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2007-4559?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST