Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2024-4030 Details

UNDERGOING ENRICHMENT


The CVE is currently being enriched by the Volerion team. The enrichment process results in the association of reference link tags, CVSS, and CPE applicability statement data.

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.

Metrics

CVSS 3.x Severity and Vector Strings:

NDDVolerionCVSS-B:…Vector:This vulnerability is currently being analyzed.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/python/cpython/commit/35c799d79177b962ddace2fa068101465570a29a CVE
https://github.com/python/cpython/commit/5130731c9e779b97d00a24f54cdce73ce9975dfd CVE
https://github.com/python/cpython/commit/66f8bb76a15e64a1bb7688b177ed29e26230fdee CVE
https://github.com/python/cpython/commit/6d0850c4c8188035643586ab4d8ec2468abd699e CVE
https://github.com/python/cpython/commit/81939dad77001556c527485d31a2d0f4a759033e CVE

see all 30 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-276Incorrect Default Permissions[email protected]

Affected Products

This vulnerability is currently being analyzed

Change History

10 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2024-4030
NVD Published Date:
May 7, 2024
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2024-4030 Details - Not Deferred