CVE-2007-4559

CRITICAL

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.

CVSS v3.1 Score

9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Published: 8/28/2007Modified: 6/16/2026

Related Intelligence (1)

References (21)

http://mail.python.org/pipermail/python-dev/2007-August/074290.htmlMailing ListVendor Advisoryhttp://mail.python.org/pipermail/python-dev/2007-August/074292.htmlExploitMailing Listhttp://secunia.com/advisories/26623Broken Linkhttp://www.vupen.com/english/advisories/2007/3022Broken Linkhttps://bugzilla.redhat.com/show_bug.cgi?id=263261Issue Trackinghttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/https://security.gentoo.org/glsa/202309-06http://mail.python.org/pipermail/python-dev/2007-August/074290.htmlMailing ListVendor Advisoryhttp://mail.python.org/pipermail/python-dev/2007-August/074292.htmlExploitMailing Listhttp://secunia.com/advisories/26623Broken Linkhttp://www.vupen.com/english/advisories/2007/3022Broken Linkhttps://bugzilla.redhat.com/show_bug.cgi?id=263261Issue Trackinghttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CVBB7NU3YIRRDOKLYVN647WPRR3IAKR6/https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FI55PGL47ES3OU2FQPGEHOI2EK3S2OBH/https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KA4Z44ZAI4SY7THCFBUDNT5EEFO4XQ3A/https://security.gentoo.org/glsa/202309-06