ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-4330

cpython: python: Extraction filter bypass for linking outside extraction directory

Moderate No fix available CVE-2025-4330

Details

A flaw was found in CPython's tarfile module. This vulnerability allows bypassing of extraction filters, enabling symlink traversal outside the intended extraction directory and potential modification of file metadata via malicious tar archives using TarFile.extractall() or TarFile.extract() with the filter="data" or filter="tar" parameters. This issue leads to potentially overwriting or modifying system files and metadata.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8Cython
All versions, will not be fixed
Red Hat:enterprise_linux:8PyYAML
All versions, will not be fixed
Red Hat:enterprise_linux:8babel
All versions, will not be fixed
Red Hat:enterprise_linux:8mod_wsgi
All versions, will not be fixed
Red Hat:enterprise_linux:8numpy
All versions, will not be fixed
Red Hat:enterprise_linux:8python-PyMySQL
All versions, will not be fixed
Red Hat:enterprise_linux:8python-asn1crypto
All versions, will not be fixed
Red Hat:enterprise_linux:8python-cffi
All versions, will not be fixed
Red Hat:enterprise_linux:8python-chardet
All versions, will not be fixed
Red Hat:enterprise_linux:8python-cryptography
All versions, will not be fixed
Red Hat:enterprise_linux:8python-idna
All versions, will not be fixed
Red Hat:enterprise_linux:8python-jinja2
All versions, will not be fixed
Red Hat:enterprise_linux:8python-lxml
All versions, will not be fixed
Red Hat:enterprise_linux:8python-markupsafe
All versions, will not be fixed
Red Hat:enterprise_linux:8python-ply
All versions, will not be fixed
Red Hat:enterprise_linux:8python-psutil
All versions, will not be fixed
Red Hat:enterprise_linux:8python-psycopg2
All versions, will not be fixed
Red Hat:enterprise_linux:8python-pycparser
All versions, will not be fixed
Red Hat:enterprise_linux:8python-pysocks
All versions, will not be fixed
Red Hat:enterprise_linux:8python-requests
All versions, will not be fixed
Red Hat:enterprise_linux:8python-six
All versions, will not be fixed
Red Hat:enterprise_linux:8python-urllib3
All versions, will not be fixed
Red Hat:enterprise_linux:8python-wheel
All versions, will not be fixed
Red Hat:enterprise_linux:8python38
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-Cython
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-PyMySQL
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-asn1crypto
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-babel
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-cffi
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-chardet
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-cryptography
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-debug
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-idle
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-idna
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-jinja2
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-libs
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-lxml
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-markupsafe
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-mod_wsgi
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-numpy
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-numpy-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-numpy-f2py
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-pip
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-pip-wheel
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-ply
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-psutil
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-psycopg2
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-psycopg2-doc
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-psycopg2-tests
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-pycparser
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-pysocks
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-pytz
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-pyyaml
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-requests
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-rpm-macros
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-scipy
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-setuptools
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-setuptools-wheel
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-six
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-test
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-tkinter
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-urllib3
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-wheel
All versions, will not be fixed
Red Hat:enterprise_linux:8python38-wheel-wheel
All versions, will not be fixed
Red Hat:enterprise_linux:8python3x-pip
All versions, will not be fixed
Red Hat:enterprise_linux:8python3x-setuptools
All versions, will not be fixed
Red Hat:enterprise_linux:8python3x-six
All versions, will not be fixed
Red Hat:enterprise_linux:8pytz
All versions, will not be fixed
Red Hat:enterprise_linux:8scipy
All versions, will not be fixed

References