CVEvulnerability
CVE-2007-4559
9.8 CRITICAL
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
- 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/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202309-06 security.gentoo.org
- 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/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202309-06 security.gentoo.org