What’s Vulnerable › Vulnerabilities

CVE-2007-4559

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.

Affected products

How to fix

Upgrade to a fixed version: Python 3.10.12, 3.11.4, 3.6.16, 3.8.17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2007-4559 or the next vulnerability affects your stack