PSF-2007-2
Dashboard / Vulnerabilities / PSF-2007-2
PSF-2007-2
Published: 28 Aug 2007Last Modified: 3 Feb 2026
Summary: Directory path traversal in extract() and extractall() tarfile functions via '..' (dot dot) sequences
Details: 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.
References: http://mail.python.org/pipermail/python-dev/2007-August/074290.html, https://github.com/python/cpython/issues/102950, https://github.com/python/cpython/pull/102953
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
2.5
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
