ALSA-2024:4077 - Important: python3.11 security update
Summary
ALSA-2024:4077: Important: python3.11 security update. Affects python3.11 versions < 3.11.7-1.el9_4.1. Fixed in 3.11.7-1.el9_4.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
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.
Vulnerability Detail
A path traversal vulnerability (CVE-2023-6597) exists in the tempfile.TemporaryDirectory module of Python. This vulnerability allows an attacker to manipulate file paths and potentially access sensitive files outside of the intended directory. The impact of this vulnerability can vary depending on the specific usage of the tempfile.TemporaryDirectory module in Python applications.
How To Fix
Minimum fixed version
3.11.7-1.el9_4.1
This is the first release that contains the fix.
sudo dnf update python3.11
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
A path traversal vulnerability has been identified in the tempfile.TemporaryDirectory module of Python. Users are advised to update their Python installations to version 3.11.7-1.el9_4.1 or later to mitigate the risk of this vulnerability. No known workarounds are available at this time.
See every vulnerability recorded for python3.11 →
FAQ
The impact of this vulnerability can vary depending on the specific usage of the tempfile.TemporaryDirectory module in Python applications. In some cases, it may allow an attacker to access sensitive files outside of the intended directory.
You can use the Vulert Playground at Vulert Scanner to check if your Python installation is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
At the moment, there are no known workarounds for this vulnerability. It is recommended to update your Python installation to the latest version that includes the patch for this vulnerability.
The CVSS score for this vulnerability has not been provided in the available information.
The discoverer of this vulnerability has not been mentioned in the available information.
Related vulnerabilities
Recent vulnerabilities recorded for python3.11.