PT-2024-7267

CVE-2024-4030

·

تاريخ النشر

2024-05-07

·

تاريخ التحديث

2025-11-07

الوصف من

CVSS 3.1
7.1
عالية
المقاييسAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions: Python versions prior to 3.13
Description: The issue is related to the tempfile.mkdtemp() function in Python, which on Windows, may not always set the correct permissions for the temporary directory, allowing other users to read and write to it. This is due to Python not supporting Unix permissions on Windows. The fix adds support for Unix "700" permissions for the mkdir function on Windows, ensuring the newly created directory has the proper permissions. If you are not using Windows or haven't changed the temporary directory location, you are not affected by this issue. On other platforms, the returned directory is consistently readable and writable only by the current user.
Recommendations: Update Python to version 3.13 to resolve the issue. As a temporary workaround, consider restricting access to the temporary directory created by tempfile.mkdtemp() to minimize the risk of exploitation. Avoid using the tempfile.mkdtemp() function on Windows until the issue is resolved.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
BIT-PYTHON-2024-4030
OPENSUSE-SU-2024:14109-1
OPENSUSE-SU-2024:14295-1
OPENSUSE-SU-2024:14331-1
OPENSUSE-SU-2024:14340-1
OPENSUSE-SU-2024:14345-1
OPENSUSE-SU-2024:14346-1
OPENSUSE-SU-2024:14434-1
OPENSUSE-SU-2024_2572-1
OPENSUSE-SU-2025:15713-1
PSF-2024-3
SUSE-SU-2024:2572-1
SUSE-SU-2025:20154-1
SUSE-SU-2025:20374-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾