RHSA-2025:10484: Important: python3 security update
Important: python3 security update
Other sources
Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.Security Fix(es): cpython: Tarfile extracts filtered members when errorlevel=0 (CVE-2025-4435) cpython: python: Bypass extraction filter to modify file metadata outside extraction directory (CVE-2024-12718) cpython: python: Extraction filter bypass for linking outside extraction directory (CVE-2025-4330) python: cpython: Arbitrary writes via tarfile realpath overflow (CVE-2025-4517) cpython: python: Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory (CVE-2025-4138) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/python3to a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/platform-pythonto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/platform-python-debugto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/platform-python-develto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/python3-debuginfoto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/python3-debugsourceto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/python3-idleto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/python3-libsto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/python3-testto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/python3-tkinterto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8 - Upgrade
Upgrade
redhat/platform-pythonto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
redhat/platform-python-debugto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
redhat/platform-python-develto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
redhat/python3-debuginfoto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
redhat/python3-debugsourceto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
redhat/python3-idleto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
redhat/python3-libsto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
redhat/python3-testto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
redhat/python3-tkinterto a version that resolves this vulnerability.Fixed in 3.6.8-47.el8_6.8.aa - Upgrade
Upgrade
cpython/python3to a version that resolves this vulnerability.Patch CVE-2025-4435
Event History
Frequently Asked Questions
Which installed packages are covered by this update?
The advisory covers platform-python, platform-python-debug, platform-python-devel, python3-debuginfo, python3-debugsource, python3-idle, python3-libs, and python3-test.
What archive-processing behavior is implicated?
The listed fixes concern Python tarfile extraction. They address extraction-filter bypasses involving filtered members, file metadata, links and symlinks outside the extraction directory, and arbitrary writes through a realpath overflow.
Is a specific configuration condition identified?
One listed issue, CVE-2025-4435, specifically concerns tarfile extracting filtered members when errorlevel is set to 0. The advisory does not state whether this setting is the default.