DNA View

High Severity Vulnerability

This vulnerability has been rated as High severity. Immediate action is recommended.

CVE-2024-4030

High
Low Medium High Critical
7.1
CVSS Score
Published: May 07, 2024
Last Modified: Nov 21, 2024

Vulnerability 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.

CVSS Metrics

Common Vulnerability Scoring System

Vector String:

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
L
Attack Complexity
L
Privileges Required
L
User Interaction
N
Scope
U
Confidentiality
H
Integrity
H
Availability
N

Available Security Patches

3 patches available from vendors

View All Patches
Microsoft

2025-Jul-CVE-2024-4030

CVE-2024-4030: None

Severity
Unknown
Released
Sep 17, 2025
Security Update
Microsoft

2025-Mar-CVE-2024-4030

CVE-2024-4030: None

Severity
Unknown
Released
Sep 04, 2025
Security Update
Oracle

CPUJAN2025

Oracle Critical Patch Update Advisory - January 2025

Severity
Critical
Released
Jan 21, 2025
Restart Required
Security Update

References & Resources

Severity Details

7.1
out of 10.0
High

Weakness Type (CWE)

CWE-276

Incorrect Default Permissions

Description
During installation, installed file permissions are set to allow anyone to modify those files.
Exploit Likelihood
Medium
Typical Severity
Medium
Abstraction Level
Base

Key Information

Published Date
May 07, 2024