CVEvulnerability

CVE-2007-4559

9.8 CRITICAL Published 2007-08-28 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2007-08-28
Last modified
2026-06-16
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-22

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 configurations

• python python (< 3.6.16) • python python (>= 3.7.0 < 3.8.17) • python python (>= 3.9.0 < 3.9.17) • python python (>= 3.10.0 < 3.10.12) • python python (>= 3.11.0 < 3.11.4)

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References