CVE-2024-4030

Updated: 2025-08-20 02:39:49.5358

Description:

On Windows a directory returned by tempfile.mkdtemp() would not always have permissions set to restrict reading and writing to the temporary directory by other users, instead usually inheriting the correct permissions from the default location. Alternate configurations or users without a profile directory may not have the intended permissions. If you’re not using Windows or haven’t changed the temporary directory location then you aren’t affected by this vulnerability. On other platforms the returned directory is consistently readable and writable only by the current user. This issue was caused by Python not supporting Unix permissions on Windows. The fix adds support for Unix “700” for the mkdir function on Windows which is used by mkdtemp() to ensure the newly created directory has the proper permissions.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0.0
CVSS Version 3.x 0.0

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU python3 3.9.16 0.0 Not Vulnerable 2024-09-10 12:10:05
CentOS 6 ELS python 2.6.6 0.0 Not Vulnerable 2024-09-10 12:10:05
CentOS 7 ELS python 2.7.5 0.0 Not Vulnerable 2024-09-10 12:10:06
CentOS 7 ELS python3 3.6.8 0.0 Not Vulnerable 2024-09-10 12:10:05
CentOS 8.4 ELS python3 3.6.8 0.0 Not Vulnerable 2024-09-10 12:10:05
CentOS 8.4 ELS python2 2.7.18 0.0 Not Vulnerable 2024-09-10 12:10:05
CentOS 8.5 ELS python2 2.7.18 0.0 Not Vulnerable 2024-09-10 12:10:05
CentOS 8.5 ELS python3 3.6.8 0.0 Not Vulnerable 2024-09-10 12:10:05
CentOS Stream 8 ELS python2 2.7.18 0.0 Not Vulnerable 2024-09-10 12:10:05
CloudLinux 6 ELS python 2.6.6 0.0 Not Vulnerable 2024-09-10 12:10:06
Total: 17