Patchwire CVEs, their patch status, and feeds to follow them

CVE-2024-4030

Fixed in a distro release EPSS <1%CVSS 7.1

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.

Published 2024-05-07 · CVE record · OSV

Products: Python Software Foundation CPython, cpython

Distro releases

ReleasePackageFixed in
Chainguardaws-cli-v20
Chainguardpython-3.100
Chainguardpython-3.110
Chainguardpython-3.120
Chainguardpython-3.90
SUSE Linux Enterprise Module for Python 3 15 SP6python3123.12.4-150600.3.3.1
SUSE Linux Enterprise Module for Python 3 15 SP6python312-core3.12.4-150600.3.3.1
SUSE Linux Micro 6.0python3113.11.11-1.1
SUSE Linux Micro 6.0python311-core3.11.11-1.1
SUSE Linux Micro 6.1python3113.11.12-slfo.1.1_1.1
SUSE Linux Micro 6.1python311-core3.11.12-slfo.1.1_1.1
Wolfiaws-cli-v20
Wolfipython-3.100
Wolfipython-3.110
Wolfipython-3.120
openSUSE Leap 15.6python3123.12.4-150600.3.3.1
openSUSE Leap 15.6python312-core3.12.4-150600.3.3.1
openSUSE Leap 15.6python312-documentation3.12.4-150600.3.3.1
openSUSE Tumbleweedpython3103.10.15-1.1
openSUSE Tumbleweedpython3113.11.9-7.1
openSUSE Tumbleweedpython3123.12.5-1.1
openSUSE Tumbleweedpython3133.13.0~b3-1.1
openSUSE Tumbleweedpython3143.14.0~a1-1.1
openSUSE Tumbleweedpython3153.15.0~a1-1.1
openSUSE Tumbleweedpython383.8.20-1.1
openSUSE Tumbleweedpython393.9.20-1.1