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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Suse | — | Upgrade python312-tkUpgrade libpython3_13-1_0-x86-64-v3Upgrade python312Upgrade python312-baseUpgrade python313-cursesUpgrade libpython3_12-1_0-32bitUpgrade python313-base-x86-64-v3Upgrade python312-docUpgrade python313-docUpgrade python312-doc-devhelpUpgrade python312-32bitUpgrade libpython3_13-1_0Upgrade libpython3_12-1_0Upgrade python313-doc-devhelpUpgrade python313-tkUpgrade python312-idleUpgrade python312-develUpgrade libpython3_11-1_0Upgrade python313-toolsUpgrade python312-toolsUpgrade python313-dbmUpgrade python313-x86-64-v3Upgrade python313-idleUpgrade python312-testsuiteUpgrade python313-develUpgrade python312-base-32bitUpgrade python313-baseUpgrade python311-baseUpgrade python313Upgrade python312-dbmUpgrade python312-curses | Jul 23, 2024 | May 7, 2024 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub