An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior.
The tempfile.TemporaryDirectory class would dereference symlinks during cleanup of permissions-related errors. This means users which can run privileged programs are potentially able to modify permissions of files referenced by symlinks in some circumstances.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade platform-pythonUpgrade platform-python-debugUpgrade platform-python-develUpgrade python-unversioned-commandUpgrade python3Upgrade python3-debugUpgrade python3-develUpgrade python3-idleUpgrade python3-libsUpgrade python3-testUpgrade python3-tkinterUpgrade python3.11Upgrade python3.11-debugUpgrade python3.11-develUpgrade python3.11-idleUpgrade python3.11-libsUpgrade python3.11-rpm-macrosUpgrade python3.11-testUpgrade python3.11-tkinterUpgrade python39Upgrade python39-CythonUpgrade python39-PyMySQLUpgrade python39-attrsUpgrade python39-cffiUpgrade python39-chardetUpgrade python39-cryptographyUpgrade python39-debugUpgrade python39-develUpgrade python39-idleUpgrade python39-idnaUpgrade python39-iniconfigUpgrade python39-libsUpgrade python39-lxmlUpgrade python39-mod_wsgiUpgrade python39-more-itertoolsUpgrade python39-numpyUpgrade python39-numpy-docUpgrade python39-numpy-f2pyUpgrade python39-packagingUpgrade python39-pipUpgrade python39-pip-wheelUpgrade python39-pluggyUpgrade python39-plyUpgrade python39-psutilUpgrade python39-psycopg2Upgrade python39-psycopg2-docUpgrade python39-psycopg2-testsUpgrade python39-pyUpgrade python39-pybind11Upgrade python39-pybind11-develUpgrade python39-pycparserUpgrade python39-pyparsingUpgrade python39-pysocksUpgrade python39-pytestUpgrade python39-pyyamlUpgrade python39-requestsUpgrade python39-rpm-macrosUpgrade python39-scipyUpgrade python39-setuptoolsUpgrade python39-setuptools-wheelUpgrade python39-sixUpgrade python39-testUpgrade python39-tkinterUpgrade python39-tomlUpgrade python39-urllib3Upgrade python39-wcwidthUpgrade python39-wheelUpgrade python39-wheel-wheel | May 31, 2024 | Mar 19, 2024 |
| Alpine Linux | — | Upgrade python3 | Mar 26, 2024 | Mar 19, 2024 |
| Amazon Linux Ami 2 | — | Upgrade python3Upgrade python3-debugUpgrade python3-debuginfoUpgrade python3-develUpgrade python3-libsUpgrade python3-testUpgrade python3-tkinterUpgrade python3-toolsUpgrade python38Upgrade python38-debugUpgrade python38-debuginfoUpgrade python38-develUpgrade python38-libsUpgrade python38-testUpgrade python38-tkinterUpgrade python38-tools | May 16, 2024 | Mar 19, 2024 |
| Amazon_linux | — | Upgrade python38 | May 14, 2024 | Mar 19, 2024 |
| Amazon_linux_2023 | — | Upgrade python-unversioned-commandUpgrade python3Upgrade python3-debugUpgrade python3-develUpgrade python3-idleUpgrade python3-libsUpgrade python3-testUpgrade python3-tkinterUpgrade python3.11Upgrade python3.11-debugUpgrade python3.11-debuginfoUpgrade python3.11-debugsourceUpgrade python3.11-develUpgrade python3.11-idleUpgrade python3.11-libsUpgrade python3.11-testUpgrade python3.11-tkinterUpgrade python3.9-debuginfoUpgrade python3.9-debugsource | Feb 17, 2025 | Mar 19, 2024 |
| Debian | — | Upgrade pypy3Upgrade python3.11Upgrade python3.9 | Mar 26, 2024 | Mar 19, 2024 |
| Echo Linux | — | Upgrade pypy3Upgrade python3.11 | Nov 12, 2026 | Mar 19, 2024 |
| Gentoo Linux | — | Upgrade dev-lang/python.Upgrade dev-python/pypy3.Upgrade dev-python/pypy3_10.Upgrade dev-python/pypy3_9. | May 6, 2024 | Mar 19, 2024 |
| Huawei Euleros 2_0_sp11 | — | Upgrade python3Upgrade python3-unversioned-command | Jun 26, 2024 | Mar 19, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade python3Upgrade python3-fgoUpgrade python3-unversioned-command | Jul 1, 2024 | Mar 19, 2024 |
| Ibm Aix | — | Apply the fix or workaround for python_advisory8 | Apr 12, 2024 | Mar 19, 2024 |
| Nutanix Ahv | — | Update the Nutanix AHV software to the recommended version. Before upgrading: if this cluster is registered with Prism Central, ensure that Prism Central has been upgraded first to a compatible version. Refer to the Software Product Interoperability page on the Nutanix portal. | Jun 5, 2026 | Oct 8, 2024 |
| Oracle_linux | — | Upgrade platform-pythonUpgrade platform-python-debugUpgrade platform-python-develUpgrade python-unversioned-commandUpgrade python3Upgrade python3-debugUpgrade python3-develUpgrade python3-idleUpgrade python3-libsUpgrade python3-testUpgrade python3-tkinterUpgrade python3.11Upgrade python3.11-debugUpgrade python3.11-develUpgrade python3.11-idleUpgrade python3.11-libsUpgrade python3.11-rpm-macrosUpgrade python3.11-testUpgrade python3.11-tkinterUpgrade python39Upgrade python39-PyMySQLUpgrade python39-cffiUpgrade python39-chardetUpgrade python39-cryptographyUpgrade python39-debugUpgrade python39-develUpgrade python39-idleUpgrade python39-idnaUpgrade python39-libsUpgrade python39-lxmlUpgrade python39-mod_wsgiUpgrade python39-numpyUpgrade python39-numpy-docUpgrade python39-numpy-f2pyUpgrade python39-pipUpgrade python39-pip-wheelUpgrade python39-plyUpgrade python39-psutilUpgrade python39-psycopg2Upgrade python39-psycopg2-docUpgrade python39-psycopg2-testsUpgrade python39-pycparserUpgrade python39-pysocksUpgrade python39-pyyamlUpgrade python39-requestsUpgrade python39-rpm-macrosUpgrade python39-scipyUpgrade python39-setuptoolsUpgrade python39-setuptools-wheelUpgrade python39-sixUpgrade python39-testUpgrade python39-tkinterUpgrade python39-tomlUpgrade python39-urllib3Upgrade python39-wheelUpgrade python39-wheel-wheel | May 30, 2024 | Mar 19, 2024 |
| Redhat Openshift | — | Upgrade ose-rhel-coreos | Jan 23, 2025 | Mar 19, 2024 |
| Redhat_linux | — | Upgrade Cython-debugsourceUpgrade PyYAML-debugsourceUpgrade numpy-debugsourceUpgrade platform-pythonUpgrade platform-python-debugUpgrade platform-python-develUpgrade python-cffi-debugsourceUpgrade python-cryptography-debugsourceUpgrade python-lxml-debugsourceUpgrade python-psutil-debugsourceUpgrade python-psycopg2-debugsourceUpgrade python-unversioned-commandUpgrade python3Upgrade python3-debugUpgrade python3-debuginfoUpgrade python3-debugsourceUpgrade python3-develUpgrade python3-idleUpgrade python3-libsUpgrade python3-testUpgrade python3-tkinterUpgrade python3.11Upgrade python3.11-debugUpgrade python3.11-debuginfoUpgrade python3.11-debugsourceUpgrade python3.11-develUpgrade python3.11-idleUpgrade python3.11-libsUpgrade python3.11-rpm-macrosUpgrade python3.11-testUpgrade python3.11-tkinterUpgrade python3.9-debuginfoUpgrade python3.9-debugsourceUpgrade python39Upgrade python39-CythonUpgrade python39-Cython-debuginfoUpgrade python39-PyMySQLUpgrade python39-attrsUpgrade python39-cffiUpgrade python39-cffi-debuginfoUpgrade python39-chardetUpgrade python39-cryptographyUpgrade python39-cryptography-debuginfoUpgrade python39-debugUpgrade python39-debuginfoUpgrade python39-debugsourceUpgrade python39-develUpgrade python39-idleUpgrade python39-idnaUpgrade python39-iniconfigUpgrade python39-libsUpgrade python39-lxmlUpgrade python39-lxml-debuginfoUpgrade python39-mod_wsgiUpgrade python39-more-itertoolsUpgrade python39-numpyUpgrade python39-numpy-debuginfoUpgrade python39-numpy-docUpgrade python39-numpy-f2pyUpgrade python39-packagingUpgrade python39-pipUpgrade python39-pip-wheelUpgrade python39-pluggyUpgrade python39-plyUpgrade python39-psutilUpgrade python39-psutil-debuginfoUpgrade python39-psycopg2Upgrade python39-psycopg2-debuginfoUpgrade python39-psycopg2-docUpgrade python39-psycopg2-testsUpgrade python39-pyUpgrade python39-pybind11Upgrade python39-pybind11-develUpgrade python39-pycparserUpgrade python39-pyparsingUpgrade python39-pysocksUpgrade python39-pytestUpgrade python39-pyyamlUpgrade python39-pyyaml-debuginfoUpgrade python39-requestsUpgrade python39-rpm-macrosUpgrade python39-scipyUpgrade python39-scipy-debuginfoUpgrade python39-setuptoolsUpgrade python39-setuptools-wheelUpgrade python39-sixUpgrade python39-testUpgrade python39-tkinterUpgrade python39-tomlUpgrade python39-urllib3Upgrade python39-wcwidthUpgrade python39-wheelUpgrade python39-wheel-wheelUpgrade scipy-debugsource | May 24, 2024 | Mar 19, 2024 |
| Rocky_linux | — | Upgrade Cython-debugsourceUpgrade PyYAML-debugsourceUpgrade numpy-debugsourceUpgrade platform-pythonUpgrade platform-python-debugUpgrade platform-python-develUpgrade python-cffi-debugsourceUpgrade python-cryptography-debugsourceUpgrade python-lxml-debugsourceUpgrade python-psutil-debugsourceUpgrade python-psycopg2-debugsourceUpgrade python3Upgrade python3-debugUpgrade python3-debuginfoUpgrade python3-debugsourceUpgrade python3-develUpgrade python3-idleUpgrade python3-libsUpgrade python3-testUpgrade python3-tkinterUpgrade python3.11Upgrade python3.11-debugUpgrade python3.11-debuginfoUpgrade python3.11-debugsourceUpgrade python3.11-develUpgrade python3.11-idleUpgrade python3.11-libsUpgrade python3.11-testUpgrade python3.11-tkinterUpgrade python39Upgrade python39-CythonUpgrade python39-Cython-debuginfoUpgrade python39-cffiUpgrade python39-cffi-debuginfoUpgrade python39-cryptographyUpgrade python39-cryptography-debuginfoUpgrade python39-debugUpgrade python39-debuginfoUpgrade python39-debugsourceUpgrade python39-develUpgrade python39-idleUpgrade python39-libsUpgrade python39-lxmlUpgrade python39-lxml-debuginfoUpgrade python39-mod_wsgiUpgrade python39-numpyUpgrade python39-numpy-debuginfoUpgrade python39-numpy-f2pyUpgrade python39-psutilUpgrade python39-psutil-debuginfoUpgrade python39-psycopg2Upgrade python39-psycopg2-debuginfoUpgrade python39-psycopg2-docUpgrade python39-psycopg2-testsUpgrade python39-pybind11Upgrade python39-pybind11-develUpgrade python39-pyyamlUpgrade python39-pyyaml-debuginfoUpgrade python39-scipyUpgrade python39-scipy-debuginfoUpgrade python39-testUpgrade python39-tkinterUpgrade scipy-debugsource | Jun 17, 2024 | Mar 19, 2024 |
| Suse | — | Upgrade libpython3_10-1_0Upgrade libpython3_10-1_0-32bitUpgrade libpython3_11-1_0Upgrade libpython3_11-1_0-32bitUpgrade libpython3_4m1_0Upgrade libpython3_4m1_0-32bitUpgrade libpython3_6m1_0Upgrade libpython3_6m1_0-32bitUpgrade libpython3_9-1_0Upgrade libpython3_9-1_0-32bitUpgrade python3Upgrade python3-baseUpgrade python3-cursesUpgrade python3-dbmUpgrade python3-develUpgrade python3-docUpgrade python3-doc-devhelpUpgrade python3-idleUpgrade python3-testsuiteUpgrade python3-tkUpgrade python3-toolsUpgrade python310Upgrade python310-32bitUpgrade python310-baseUpgrade python310-base-32bitUpgrade python310-cursesUpgrade python310-dbmUpgrade python310-develUpgrade python310-docUpgrade python310-doc-devhelpUpgrade python310-idleUpgrade python310-testsuiteUpgrade python310-tkUpgrade python310-toolsUpgrade python311Upgrade python311-32bitUpgrade python311-baseUpgrade python311-base-32bitUpgrade python311-cursesUpgrade python311-dbmUpgrade python311-develUpgrade python311-docUpgrade python311-doc-devhelpUpgrade python311-idleUpgrade python311-testsuiteUpgrade python311-tkUpgrade python311-toolsUpgrade python36Upgrade python36-baseUpgrade python36-develUpgrade python39Upgrade python39-32bitUpgrade python39-baseUpgrade python39-base-32bitUpgrade python39-cursesUpgrade python39-dbmUpgrade python39-develUpgrade python39-docUpgrade python39-doc-devhelpUpgrade python39-idleUpgrade python39-testsuiteUpgrade python39-tkUpgrade python39-tools | Mar 7, 2024 | Mar 6, 2024 |
| Ubuntu | — | Upgrade python3.10Upgrade python3.10-minimalUpgrade python3.11Upgrade python3.11 (Ubuntu Pro)Upgrade python3.11-minimalUpgrade python3.11-minimal (Ubuntu Pro)Upgrade python3.12Upgrade python3.12-minimalUpgrade python3.5 (Ubuntu Pro)Upgrade python3.5-minimal (Ubuntu Pro)Upgrade python3.6 (Ubuntu Pro)Upgrade python3.6-minimal (Ubuntu Pro)Upgrade python3.7 (Ubuntu Pro)Upgrade python3.7-minimal (Ubuntu Pro)Upgrade python3.8Upgrade python3.8 (Ubuntu Pro)Upgrade python3.8-minimalUpgrade python3.8-minimal (Ubuntu Pro)Upgrade python3.9 (Ubuntu Pro)Upgrade python3.9-minimal (Ubuntu Pro) | Jul 12, 2024 | Mar 19, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Mar 19, 2024 |
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub