Bug 2276518 (CVE-2023-6597)
Summary: | CVE-2023-6597 python: Path traversal on tempfile.TemporaryDirectory | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Marco Benatto <mbenatto> |
Component: | vulnerability | Assignee: | Product Security <prodsec-ir-bot> |
Status: | NEW --- | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | aarif, agarcial, aoconnor, aprice, asegurap, bdettelb, caswilli, dfreiber, doconnor, drow, fjansen, hkataria, jburrell, jmitchel, jsamir, jsherril, jtanner, kaycoth, kholdawa, kshier, kyoshida, lbalhar, mpierce, orabin, psegedy, romain.geissler, sidakwo, sthirugn, teagle, vkrizan, vkumar, xiaoxwan, zzhou |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: |
A flaw was found in the tempfile.TemporaryDirectory class in python3/cpython3. The class may dereference symbolic links during permission-related errors, resulting in users that run privileged programs being able to modify permissions of files referenced by the symbolic link.
|
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: | |||
Bug Blocks: | 2276519 |
Description
Marco Benatto
2024-04-22 20:19:42 UTC
The fix is in these upstream releases: 3.12.1, 3.11.8, 3.10.14, 3.9.19 and 3.8.19 python2.7 is not-affected as tempfile.TemporaryDirectory added in 3.2. https://github.com/python/cpython/pull/99930 https://github.com/python/cpython/issues/91133 https://github.com/python/cpython/commit/6ceb8aeda504b079fef7a57b8d81472f15cdd9a5 (v3.12.1) https://github.com/python/cpython/commit/5585334d772b253a01a6730e8202ffb1607c3d25 (v3.11.8) https://github.com/python/cpython/commit/8eaeefe49d179ca4908d052745e3bb8b6f238f82 (v3.10.14) https://github.com/python/cpython/commit/d54e22a669ae6e987199bb5d2c69bb5a46b0083b (v3.9.19) https://mail.python.org/archives/list/security-announce@python.org/thread/Q5C6ATFC67K53XFV4KE45325S7NS62LD/ This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:3347 https://access.redhat.com/errata/RHSA-2024:3347 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Extended Update Support Via RHSA-2024:3391 https://access.redhat.com/errata/RHSA-2024:3391 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:3466 https://access.redhat.com/errata/RHSA-2024:3466 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:4058 https://access.redhat.com/errata/RHSA-2024:4058 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:4077 https://access.redhat.com/errata/RHSA-2024:4077 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:4078 https://access.redhat.com/errata/RHSA-2024:4078 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Advanced Update Support Via RHSA-2024:4166 https://access.redhat.com/errata/RHSA-2024:4166 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Extended Update Support Via RHSA-2024:4370 https://access.redhat.com/errata/RHSA-2024:4370 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 Via RHSA-2024:4406 https://access.redhat.com/errata/RHSA-2024:4406 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions Red Hat Enterprise Linux 8.4 Telecommunications Update Service Via RHSA-2024:4456 https://access.redhat.com/errata/RHSA-2024:4456 This issue has been addressed in the following products: Service Interconnect 1.4 for RHEL 9 Via RHSA-2024:4865 https://access.redhat.com/errata/RHSA-2024:4865 This issue has been addressed in the following products: Service Interconnect 1 for RHEL 9 Via RHSA-2024:4871 https://access.redhat.com/errata/RHSA-2024:4871 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Extended Update Support Via RHSA-2024:4896 https://access.redhat.com/errata/RHSA-2024:4896 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Extended Update Support Via RHSA-2024:5535 https://access.redhat.com/errata/RHSA-2024:5535 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Via RHSA-2024:5689 https://access.redhat.com/errata/RHSA-2024:5689 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.14 Via RHSA-2025:0364 https://access.redhat.com/errata/RHSA-2025:0364 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.16 Via RHSA-2025:0650 https://access.redhat.com/errata/RHSA-2025:0650 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.15 Via RHSA-2025:0646 https://access.redhat.com/errata/RHSA-2025:0646 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.12 Via RHSA-2025:0832 https://access.redhat.com/errata/RHSA-2025:0832 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.17 Via RHSA-2025:1120 https://access.redhat.com/errata/RHSA-2025:1120 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.13 Via RHSA-2025:1116 https://access.redhat.com/errata/RHSA-2025:1116 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2025:2705 https://access.redhat.com/errata/RHSA-2025:2705 |