7.1
CWE
22
Advisory Published
CVE Published
Updated

CVE-2007-4559: Path Traversal

First published: Fri Aug 24 2007(Updated: )

A flaw was found in the Python tarfile module. Extracting a crafted TAR archive with the tarfile.extract or tarfile.extractall functions could lead to a directory traversal vulnerability, resulting in overwrite of arbitrary files.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Python Software Foundation Python
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
redhat/python3.11-pip<0:22.3.1-4.el8
0:22.3.1-4.el8
redhat/python3.11<0:3.11.5-1.el8_9
0:3.11.5-1.el8_9
redhat/python3<0:3.6.8-56.el8_9
0:3.6.8-56.el8_9
redhat/python-pip<0:9.0.3-23.el8
0:9.0.3-23.el8
redhat/python-pip<0:9.0.3-22.1.el8_6
0:9.0.3-22.1.el8_6
redhat/python3<0:3.6.8-47.el8_6.4
0:3.6.8-47.el8_6.4
redhat/python-pip<0:9.0.3-22.1.el8_8
0:9.0.3-22.1.el8_8
redhat/python3.11-pip<0:22.3.1-4.el9
0:22.3.1-4.el9
redhat/python3.11<0:3.11.5-1.el9_3
0:3.11.5-1.el9_3
redhat/python3.9<0:3.9.18-1.el9_3
0:3.9.18-1.el9_3
redhat/python-pip<0:21.2.3-7.el9
0:21.2.3-7.el9
redhat/rh-python38-python<0:3.8.18-2.el7
0:3.8.18-2.el7
redhat/rh-python38-python-pip<0:19.3.1-4.el7
0:19.3.1-4.el7
IBM QRadar SIEM<=7.5 - 7.5.0 UP8 IF01

Remedy

Do not extract archives from untrusted sources with the Python tarfile module. Users of the module should add sanity checks when calling the tarfile.extract or tarfile.extractall functions.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2007-4559?

    CVE-2007-4559 is a vulnerability that allows user-assisted remote attackers to overwrite arbitrary files via a directory traversal attack in the Python tarfile module.

  • What software is affected by CVE-2007-4559?

    Python Software Foundation Python and Python Python versions up to 3.11.4 are affected by CVE-2007-4559.

  • What is the severity of CVE-2007-4559?

    CVE-2007-4559 has a severity score of 6.8, which is considered medium.

  • How do I fix CVE-2007-4559?

    To fix CVE-2007-4559, update to a version of Python Software Foundation Python or Python Python that is not affected by the vulnerability.

  • Where can I find more information about CVE-2007-4559?

    You can find more information about CVE-2007-4559 at the following references: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203