Bug 2372426 (CVE-2025-4138)
| Summary: | CVE-2025-4138 cpython: python: Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
| Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> |
| Status: | NEW --- | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | crizzo, dfreiber, drow, jburrell, jmitchel, jtanner, kshier, pbohmill, teagle, vkumar |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: |
A flaw was found in the Python tarfile module. This vulnerability allows attackers to bypass extraction filters, enabling symlink targets to escape the destination directory and allowing unauthorized modification of file metadata via the use of TarFile.extract() or TarFile.extractall() with the filter= parameter set to "data" or "tar".
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2429955, 2429956, 2429957, 2429958, 2372448, 2373723, 2373724 | ||
| Bug Blocks: | |||
|
Description
OSIDB Bzimport
2025-06-12 09:04:21 UTC
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2025:9918 https://access.redhat.com/errata/RHSA-2025:9918 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2025:10026 https://access.redhat.com/errata/RHSA-2025:10026 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2025:10028 https://access.redhat.com/errata/RHSA-2025:10028 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2025:10031 https://access.redhat.com/errata/RHSA-2025:10031 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2025:10128 https://access.redhat.com/errata/RHSA-2025:10128 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:10136 https://access.redhat.com/errata/RHSA-2025:10136 This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2025:10140 https://access.redhat.com/errata/RHSA-2025:10140 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:10148 https://access.redhat.com/errata/RHSA-2025:10148 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:10189 https://access.redhat.com/errata/RHSA-2025:10189 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2025:10399 https://access.redhat.com/errata/RHSA-2025:10399 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Red Hat Enterprise Linux 8.6 Telecommunications Update Service Red Hat Enterprise Linux 8.6 Extended Update Support EXTENSION Via RHSA-2025:10484 https://access.redhat.com/errata/RHSA-2025:10484 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat Enterprise Linux 8.8 Telecommunications Update Service Red Hat Enterprise Linux 8.8 Extended Update Support EXTENSION Via RHSA-2025:10602 https://access.redhat.com/errata/RHSA-2025:10602 This issue has been addressed in the following products: RHEL-8 based Middleware Containers Via RHSA-2025:11386 https://access.redhat.com/errata/RHSA-2025:11386 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2025:23530 https://access.redhat.com/errata/RHSA-2025:23530 This issue has been addressed in the following products: RHOSS-1.36-RHEL-8 Via RHSA-2026:0934 https://access.redhat.com/errata/RHSA-2026:0934 |