PT-2025-23607 · Python+10 · Python+11
Jakub Wilk
+5
·
Published
2025-06-03
·
Updated
2026-05-18
·
CVE-2024-12718
CVSS v4.0
10
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
Python versions 3.12 and later
Description
This vulnerability allows modification of file metadata (e.g., last modified) or file permissions of files outside the intended extraction directory when using the
tarfile module to extract untrusted tar archives with the filter="data" or filter="tar" options. For Python 3.14 and later, the default value of the filter parameter changed to "data".Recommendations
Update to a newer version of Python. Specifically, the following package versions address the vulnerability:
idle-python3.12 - 3.12.7-1ubuntu2.2libpython3.12-dev - 3.12.7-1ubuntu2.2libpython3.12-minimal - 3.12.7-1ubuntu2.2libpython3.12-stdlib - 3.12.7-1ubuntu2.2libpython3.12-testsuite - 3.12.7-1ubuntu2.2libpython3.12t64 - 3.12.7-1ubuntu2.2python3.12 - 3.12.7-1ubuntu2.2python3.12-dev - 3.12.7-1ubuntu2.2python3.12-doc - 3.12.7-1ubuntu2.2python3.12-examples - 3.12.7-1ubuntu2.2python3.12-full - 3.12.7-1ubuntu2.2python3.12-gdbm - 3.12.7-1ubuntu2.2python3.12-minimal - 3.12.7-1ubuntu2.2python3.12-nopie - 3.12.7-1ubuntu2.2python3.12-tk - 3.12.7-1ubuntu2.2python3.12-venv - 3.12.7-1ubuntu2.2idle-python3.13 - 3.13.0-1ubuntu0.3libpython3.13 - 3.13.0-1ubuntu0.3libpython3.13-dev - 3.13.0-1ubuntu0.3libpython3.13-minimal - 3.13.0-1ubuntu0.3libpython3.13-stdlib - 3.13.0-1ubuntu0.3libpython3.13-testsuite - 3.13.0-1ubuntu0.3python3.13 - 3.13.0-1ubuntu0.3python3.13-dev - 3.13.0-1ubuntu0.3python3.13-doc - 3.13.0-1ubuntu0.3python3.13-examples - 3.13.0-1ubuntu0.3python3.13-full - 3.13.0-1ubuntu0.3python3.13-gdbm - 3.13.0-1ubuntu0.3python3.13-minimal - 3.13.0-1ubuntu0.3python3.13-nopie - 3.13.0-1ubuntu0.3python3.13-tk - 3.13.0-1ubuntu0.3python3.13-venv - 3.13.0-1ubuntu0.3
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Centos
Debian
Ibm Aix
Linuxmint
Python
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Tarfile