CVE-2007-4559
Critical · 9.8CVSS
9.8
EPSS
27.1%
Published
Aug 28, 2007
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:8 | platform-python | 0 | 3.6.8-56.el8_9.alma.1 |
| AlmaLinux:8 | platform-python-debug | 0 | 3.6.8-56.el8_9.alma.1 |
| AlmaLinux:8 | platform-python-devel | 0 | 3.6.8-56.el8_9.alma.1 |
| AlmaLinux:8 | platform-python-pip | 0 | 9.0.3-23.el8 |
| AlmaLinux:8 | python3-idle | 0 | 3.6.8-56.el8_9.alma.1 |
| AlmaLinux:8 | python3-libs | 0 | 3.6.8-56.el8_9.alma.1 |
| AlmaLinux:8 | python3-pip | 0 | 9.0.3-23.el8 |
| AlmaLinux:8 | python3-pip-wheel | 0 | 9.0.3-23.el8 |
| AlmaLinux:8 | python3-test | 0 | 3.6.8-56.el8_9.alma.1 |
| AlmaLinux:8 | python3-tkinter | 0 | 3.6.8-56.el8_9.alma.1 |
| AlmaLinux:8 | python3.11 | 0 | 3.11.5-1.el8_9 |
| AlmaLinux:8 | python3.11-debug | 0 | 3.11.5-1.el8_9 |
| AlmaLinux:8 | python3.11-devel | 0 | 3.11.5-1.el8_9 |
| AlmaLinux:8 | python3.11-idle | 0 | 3.11.5-1.el8_9 |
| AlmaLinux:8 | python3.11-libs | 0 | 3.11.5-1.el8_9 |
| AlmaLinux:8 | python3.11-pip | 0 | 22.3.1-4.el8 |
| AlmaLinux:8 | python3.11-pip-wheel | 0 | 22.3.1-4.el8 |
| AlmaLinux:8 | python3.11-rpm-macros | 0 | 3.11.5-1.el8_9 |
| AlmaLinux:8 | python3.11-test | 0 | 3.11.5-1.el8_9 |
| AlmaLinux:8 | python3.11-tkinter | 0 | 3.11.5-1.el8_9 |
| AlmaLinux:8 | python38 | 0 | 3.8.17-2.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-Cython | 0 | 0.29.14-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-Cython | 0 | 0.29.14-4.module_el8.6.0+3163+f4472775 |
| AlmaLinux:8 | python38-PyMySQL | 0 | 0.10.1-1.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-asn1crypto | 0 | 1.2.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-atomicwrites | 0 | 1.3.0-8.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-attrs | 0 | 19.3.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-babel | 0 | 2.7.0-11.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-cffi | 0 | 1.13.2-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-cffi | 0 | 1.13.2-3.module_el8.6.0+3163+f4472775 |
| AlmaLinux:8 | python38-chardet | 0 | 3.0.4-19.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-cryptography | 0 | 2.8-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-cryptography | 0 | 2.8-3.module_el8.6.0+3163+f4472775 |
| AlmaLinux:8 | python38-debug | 0 | 3.8.17-2.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-devel | 0 | 3.8.17-2.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-idle | 0 | 3.8.17-2.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-idna | 0 | 2.8-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-jinja2 | 0 | 2.11.3-1.module_el8.7.0+3344+99a6a656 |
| AlmaLinux:8 | python38-libs | 0 | 3.8.17-2.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-lxml | 0 | 4.4.1-7.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-lxml | 0 | 4.4.1-7.module_el8.6.0+3163+f4472775 |
| AlmaLinux:8 | python38-markupsafe | 0 | 1.1.1-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-markupsafe | 0 | 1.1.1-6.module_el8.6.0+3163+f4472775 |
| AlmaLinux:8 | python38-mod_wsgi | 0 | 4.6.8-5.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-more-itertools | 0 | 7.2.0-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-numpy | 0 | 1.17.3-7.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-numpy-doc | 0 | 1.17.3-7.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-numpy-f2py | 0 | 1.17.3-7.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-packaging | 0 | 19.2-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-pip | 0 | 19.3.1-7.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-pip-wheel | 0 | 19.3.1-7.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-pluggy | 0 | 0.13.0-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-ply | 0 | 3.11-10.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-psutil | 0 | 5.6.4-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-psutil | 0 | 5.6.4-4.module_el8.6.0+3163+f4472775 |
| AlmaLinux:8 | python38-psycopg2 | 0 | 2.8.4-4.module_el8.7.0+3344+99a6a656 |
| AlmaLinux:8 | python38-psycopg2-doc | 0 | 2.8.4-4.module_el8.7.0+3344+99a6a656 |
| AlmaLinux:8 | python38-psycopg2-tests | 0 | 2.8.4-4.module_el8.7.0+3344+99a6a656 |
| AlmaLinux:8 | python38-py | 0 | 1.8.0-8.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-pycparser | 0 | 2.19-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-pyparsing | 0 | 2.4.5-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-pysocks | 0 | 1.7.1-4.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-pytest | 0 | 4.6.6-3.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-pytz | 0 | 2019.3-4.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-pyyaml | 0 | 5.4.1-1.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-pyyaml | 0 | 5.4.1-1.module_el8.6.0+3163+f4472775 |
| AlmaLinux:8 | python38-requests | 0 | 2.22.0-10.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-rpm-macros | 0 | 3.8.17-2.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-scipy | 0 | 1.3.1-5.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-setuptools | 0 | 41.6.0-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-setuptools-wheel | 0 | 41.6.0-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-six | 0 | 1.12.0-10.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-test | 0 | 3.8.17-2.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-tkinter | 0 | 3.8.17-2.module_el8.9.0+3633+e453b53a |
| AlmaLinux:8 | python38-urllib3 | 0 | 1.25.7-5.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-wcwidth | 0 | 0.1.7-16.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-wheel | 0 | 0.33.6-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python38-wheel-wheel | 0 | 0.33.6-6.module_el8.6.0+2778+cd494b30 |
| AlmaLinux:8 | python39 | 0 | 3.9.18-1.module_el8.9.0+3672+853baa42 |
| AlmaLinux:8 | python39-Cython | 0 | 0.29.21-5.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-Cython | 0 | 0.29.21-5.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-PyMySQL | 0 | 0.10.1-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-attrs | 0 | 20.3.0-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-cffi | 0 | 1.14.3-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-cffi | 0 | 1.14.3-2.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-chardet | 0 | 3.0.4-19.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-cryptography | 0 | 3.3.1-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-cryptography | 0 | 3.3.1-2.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-debug | 0 | 3.9.18-1.module_el8.9.0+3672+853baa42 |
| AlmaLinux:8 | python39-devel | 0 | 3.9.18-1.module_el8.9.0+3672+853baa42 |
| AlmaLinux:8 | python39-idle | 0 | 3.9.18-1.module_el8.9.0+3672+853baa42 |
| AlmaLinux:8 | python39-idna | 0 | 2.10-3.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-iniconfig | 0 | 1.1.1-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-libs | 0 | 3.9.18-1.module_el8.9.0+3672+853baa42 |
| AlmaLinux:8 | python39-lxml | 0 | 4.6.5-1.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-lxml | 0 | 4.6.5-1.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-mod_wsgi | 0 | 4.7.1-7.module_el8.9.0+3634+fb2a896c |
| AlmaLinux:8 | python39-more-itertools | 0 | 8.5.0-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-numpy | 0 | 1.19.4-3.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-numpy | 0 | 1.19.4-3.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-numpy-doc | 0 | 1.19.4-3.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-numpy-f2py | 0 | 1.19.4-3.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-numpy-f2py | 0 | 1.19.4-3.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-packaging | 0 | 20.4-4.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pip | 0 | 20.2.4-8.module_el8.9.0+3634+fb2a896c |
| AlmaLinux:8 | python39-pip-wheel | 0 | 20.2.4-8.module_el8.9.0+3634+fb2a896c |
| AlmaLinux:8 | python39-pluggy | 0 | 0.13.1-3.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-ply | 0 | 3.11-10.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-psutil | 0 | 5.8.0-4.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-psutil | 0 | 5.8.0-4.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-psycopg2 | 0 | 2.8.6-2.module_el8.7.0+3344+df07b58a |
| AlmaLinux:8 | python39-psycopg2-doc | 0 | 2.8.6-2.module_el8.7.0+3344+df07b58a |
| AlmaLinux:8 | python39-psycopg2-tests | 0 | 2.8.6-2.module_el8.7.0+3344+df07b58a |
| AlmaLinux:8 | python39-py | 0 | 1.10.0-1.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pybind11 | 0 | 2.7.1-1.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pybind11 | 0 | 2.7.1-1.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-pybind11-devel | 0 | 2.7.1-1.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pybind11-devel | 0 | 2.7.1-1.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-pycparser | 0 | 2.20-3.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pyparsing | 0 | 2.4.7-5.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pysocks | 0 | 1.7.1-4.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pytest | 0 | 6.0.2-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pyyaml | 0 | 5.4.1-1.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-pyyaml | 0 | 5.4.1-1.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-requests | 0 | 2.25.0-3.module_el8.9.0+3634+fb2a896c |
| AlmaLinux:8 | python39-rpm-macros | 0 | 3.9.18-1.module_el8.9.0+3672+853baa42 |
| AlmaLinux:8 | python39-scipy | 0 | 1.5.4-5.module_el8.9.0+3634+fb2a896c |
| AlmaLinux:8 | python39-setuptools | 0 | 50.3.2-4.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-setuptools-wheel | 0 | 50.3.2-4.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-six | 0 | 1.15.0-3.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-test | 0 | 3.9.18-1.module_el8.9.0+3672+853baa42 |
| AlmaLinux:8 | python39-tkinter | 0 | 3.9.18-1.module_el8.9.0+3672+853baa42 |
| AlmaLinux:8 | python39-toml | 0 | 0.10.1-5.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-urllib3 | 0 | 1.25.10-4.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-wcwidth | 0 | 0.2.5-3.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-wheel | 0 | 1:0.35.1-4.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-wheel-wheel | 0 | 1:0.35.1-4.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:9 | python-unversioned-command | 0 | 3.9.18-1.el9_3 |
| AlmaLinux:9 | python3 | 0 | 3.9.18-1.el9_3 |
| AlmaLinux:9 | python3-debug | 0 | 3.9.18-1.el9_3 |
| AlmaLinux:9 | python3-devel | 0 | 3.9.18-1.el9_3 |
| AlmaLinux:9 | python3-idle | 0 | 3.9.18-1.el9_3 |
| AlmaLinux:9 | python3-libs | 0 | 3.9.18-1.el9_3 |
| AlmaLinux:9 | python3-pip | 0 | 21.2.3-7.el9 |
| AlmaLinux:9 | python3-pip-wheel | 0 | 21.2.3-7.el9 |
| AlmaLinux:9 | python3-test | 0 | 3.9.18-1.el9_3 |
| AlmaLinux:9 | python3-tkinter | 0 | 3.9.18-1.el9_3 |
| AlmaLinux:9 | python3.11 | 0 | 3.11.5-1.el9_3 |
| AlmaLinux:9 | python3.11-debug | 0 | 3.11.5-1.el9_3 |
| AlmaLinux:9 | python3.11-devel | 0 | 3.11.5-1.el9_3 |
| AlmaLinux:9 | python3.11-idle | 0 | 3.11.5-1.el9_3 |
| AlmaLinux:9 | python3.11-libs | 0 | 3.11.5-1.el9_3 |
| AlmaLinux:9 | python3.11-pip | 0 | 22.3.1-4.el9 |
| AlmaLinux:9 | python3.11-pip-wheel | 0 | 22.3.1-4.el9 |
| AlmaLinux:9 | python3.11-test | 0 | 3.11.5-1.el9_3 |
| AlmaLinux:9 | python3.11-tkinter | 0 | 3.11.5-1.el9_3 |
| Bitnami | python | 0 | 3.6.16 |
| Bitnami | python-min | 0 | 3.6.16 |
| Chainguard | conda | 0 | 0 |
| Chainguard | conda-init | 0 | 0 |
| Chainguard | conda-wrapper | 0 | 0 |
| Chainguard | py3-supported-conda | 0 | 0 |
| Chainguard | py3.10-conda | 0 | 0 |
| Chainguard | py3.10-conda-bin | 0 | 0 |
| Chainguard | py3.11-conda | 0 | 0 |
| Chainguard | py3.11-conda-bin | 0 | 0 |
| Chainguard | py3.12-conda | 0 | 0 |
| Chainguard | py3.12-conda-bin | 0 | 0 |
| Chainguard | python-3.10 | 0 | 0 |
| Chainguard | python-3.10-base | 0 | 0 |
| Chainguard | python-3.10-base-dev | 0 | 0 |
| Chainguard | python-3.10-dev | 0 | 0 |
| Chainguard | python-3.10-doc | 0 | 0 |
| Chainguard | python-3.11 | 0 | 0 |
| Chainguard | python-3.11-base | 0 | 0 |
| Chainguard | python-3.11-base-dev | 0 | 0 |
| Chainguard | python-3.11-dev | 0 | 0 |
| Chainguard | python-3.11-doc | 0 | 0 |
| Chainguard | python-3.12 | 0 | 0 |
| Chainguard | python-3.12-base | 0 | 0 |
| Chainguard | python-3.12-base-dev | 0 | 0 |
| Chainguard | python-3.12-dev | 0 | 0 |
| Chainguard | python-3.12-doc | 0 | 0 |
| Chainguard | python-3.12-privileged-netbindservice | 0 | 0 |
| Chainguard | python-3.12-tk | 0 | 0 |
| Chainguard | python-3.7 | 0 | 0 |
| Chainguard | python-3.7-default | 0 | 0 |
| Chainguard | python-3.7-dev | 0 | 0 |
| Chainguard | python-3.7-doc | 0 | 0 |
| Red Hat:enterprise_linux:8::appstream | Cython | 0 | 0:0.29.14-4.module+el8.9.0+19598+4a60c7b7 |
| Red Hat:enterprise_linux:8::appstream | Cython-debugsource | 0 | 0:0.29.14-4.module+el8.9.0+19598+4a60c7b7 |
| Red Hat:enterprise_linux:8::appstream | PyYAML | 0 | 0:5.4.1-1.module+el8.9.0+19644+d68f775d |
| Red Hat:enterprise_linux:8::appstream | PyYAML | 0 | 0:5.4.1-1.module+el8.9.0+19598+4a60c7b7 |
| Red Hat:enterprise_linux:8::appstream | PyYAML-debugsource | 0 | 0:5.4.1-1.module+el8.9.0+19644+d68f775d |
| Red Hat:enterprise_linux:8::appstream | PyYAML-debugsource | 0 | 0:5.4.1-1.module+el8.9.0+19598+4a60c7b7 |
| Red Hat:enterprise_linux:8::appstream | babel | 0 | 0:2.7.0-11.module+el8.9.0+19598+4a60c7b7 |
| Red Hat:enterprise_linux:8::appstream | mod_wsgi | 0 | 0:4.7.1-7.module+el8.9.0+19644+d68f775d |
| Red Hat:enterprise_linux:8::appstream | mod_wsgi | 0 | 0:4.6.8-5.module+el8.9.0+19598+4a60c7b7 |
| Red Hat:enterprise_linux:8::appstream | numpy | 0 | 0:1.19.4-3.module+el8.9.0+19644+d68f775d |
| Red Hat:enterprise_linux:8::appstream | numpy | 0 | 0:1.17.3-7.module+el8.9.0+19598+4a60c7b7 |
Related vulnerabilities
- CVE-2024-11168 The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts… Also affects platform-python
- CVE-2024-9287 A vulnerability has been found in the CPython `venv` module and CLI where path names… Also affects platform-python
- CVE-2024-6232 There is a MEDIUM severity vulnerability affecting CPython. Also affects platform-python
- CVE-2024-6923 There is a MEDIUM severity vulnerability affecting CPython. Also affects platform-python
- CVE-2024-4032 The “ipaddress” module contained incorrect information about whether certain IPv4 and… Also affects platform-python
- CVE-2024-0450 An issue was found in the CPython `zipfile` module affecting versions 3.12.1, 3.11.7… Also affects platform-python
- CVE-2023-6597 An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions… Also affects platform-python
- CVE-2023-27043 The email module of Python through 3.11.3 incorrectly parses e-mail addresses that… Also affects platform-python