SB2024090915 - Insecure temporary file in Python for Windows



SB2024090915 - Insecure temporary file in Python for Windows

Published: September 9, 2024

Security Bulletin ID SB2024090915
Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Data manipulation

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Creation of Temporary File With Insecure Permissions (CVE-ID: CVE-2024-4030)

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to 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. A local user can gain access to potentially sensitive information stored in temporary files.

Successful exploitation of the vulnerability requires that an alternate configuration or users without a profile directory.


Remediation

Install update from vendor's website.