Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2023-6597: python: Path traversal on tempfile.TemporaryDirectory (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2023-6597: python: Path traversal on tempfile.TemporaryDirectory (Multiple Advisories)

Severity
6
CVSS
(AV:L/AC:H/Au:N/C:C/I:C/A:N)
Published
03/19/2024
Created
05/24/2024
Added
05/24/2024
Modified
09/13/2024

Description

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.

Solution(s)

  • redhat-upgrade-cython-debugsource
  • redhat-upgrade-numpy-debugsource
  • redhat-upgrade-platform-python
  • redhat-upgrade-platform-python-debug
  • redhat-upgrade-platform-python-devel
  • redhat-upgrade-python-cffi-debugsource
  • redhat-upgrade-python-cryptography-debugsource
  • redhat-upgrade-python-lxml-debugsource
  • redhat-upgrade-python-psutil-debugsource
  • redhat-upgrade-python-psycopg2-debugsource
  • redhat-upgrade-python-unversioned-command
  • redhat-upgrade-python3
  • redhat-upgrade-python3-11
  • redhat-upgrade-python3-11-debug
  • redhat-upgrade-python3-11-debuginfo
  • redhat-upgrade-python3-11-debugsource
  • redhat-upgrade-python3-11-devel
  • redhat-upgrade-python3-11-idle
  • redhat-upgrade-python3-11-libs
  • redhat-upgrade-python3-11-rpm-macros
  • redhat-upgrade-python3-11-test
  • redhat-upgrade-python3-11-tkinter
  • redhat-upgrade-python3-9-debuginfo
  • redhat-upgrade-python3-9-debugsource
  • redhat-upgrade-python3-debug
  • redhat-upgrade-python3-debuginfo
  • redhat-upgrade-python3-debugsource
  • redhat-upgrade-python3-devel
  • redhat-upgrade-python3-idle
  • redhat-upgrade-python3-libs
  • redhat-upgrade-python3-test
  • redhat-upgrade-python3-tkinter
  • redhat-upgrade-python39
  • redhat-upgrade-python39-attrs
  • redhat-upgrade-python39-cffi
  • redhat-upgrade-python39-cffi-debuginfo
  • redhat-upgrade-python39-chardet
  • redhat-upgrade-python39-cryptography
  • redhat-upgrade-python39-cryptography-debuginfo
  • redhat-upgrade-python39-cython
  • redhat-upgrade-python39-cython-debuginfo
  • redhat-upgrade-python39-debug
  • redhat-upgrade-python39-debuginfo
  • redhat-upgrade-python39-debugsource
  • redhat-upgrade-python39-devel
  • redhat-upgrade-python39-idle
  • redhat-upgrade-python39-idna
  • redhat-upgrade-python39-iniconfig
  • redhat-upgrade-python39-libs
  • redhat-upgrade-python39-lxml
  • redhat-upgrade-python39-lxml-debuginfo
  • redhat-upgrade-python39-mod_wsgi
  • redhat-upgrade-python39-more-itertools
  • redhat-upgrade-python39-numpy
  • redhat-upgrade-python39-numpy-debuginfo
  • redhat-upgrade-python39-numpy-doc
  • redhat-upgrade-python39-numpy-f2py
  • redhat-upgrade-python39-packaging
  • redhat-upgrade-python39-pip
  • redhat-upgrade-python39-pip-wheel
  • redhat-upgrade-python39-pluggy
  • redhat-upgrade-python39-ply
  • redhat-upgrade-python39-psutil
  • redhat-upgrade-python39-psutil-debuginfo
  • redhat-upgrade-python39-psycopg2
  • redhat-upgrade-python39-psycopg2-debuginfo
  • redhat-upgrade-python39-psycopg2-doc
  • redhat-upgrade-python39-psycopg2-tests
  • redhat-upgrade-python39-py
  • redhat-upgrade-python39-pybind11
  • redhat-upgrade-python39-pybind11-devel
  • redhat-upgrade-python39-pycparser
  • redhat-upgrade-python39-pymysql
  • redhat-upgrade-python39-pyparsing
  • redhat-upgrade-python39-pysocks
  • redhat-upgrade-python39-pytest
  • redhat-upgrade-python39-pyyaml
  • redhat-upgrade-python39-pyyaml-debuginfo
  • redhat-upgrade-python39-requests
  • redhat-upgrade-python39-rpm-macros
  • redhat-upgrade-python39-scipy
  • redhat-upgrade-python39-scipy-debuginfo
  • redhat-upgrade-python39-setuptools
  • redhat-upgrade-python39-setuptools-wheel
  • redhat-upgrade-python39-six
  • redhat-upgrade-python39-test
  • redhat-upgrade-python39-tkinter
  • redhat-upgrade-python39-toml
  • redhat-upgrade-python39-urllib3
  • redhat-upgrade-python39-wcwidth
  • redhat-upgrade-python39-wheel
  • redhat-upgrade-python39-wheel-wheel
  • redhat-upgrade-pyyaml-debugsource
  • redhat-upgrade-scipy-debugsource

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;