Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:40593
HistoryMay 19, 2023 - 5:03 a.m.

Insecure Temporary File

2023-05-1905:03:18
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
11
transformers
vulnerability
insecure temporary files
deprecated function
tempfile.mktemp()
exclusive access
atomically
attacker
availability
software

EPSS

0

Percentile

9.0%

transformers is vulnerable to Insecure Temporary Files. The vulnerability exists inside download_url due to the use of deprecated function tempfile.mktemp() which creates temporary file names that are fundamentally insecure, as they do not ensure exclusive access to a file with the temporary name they return. There is no guarantee that the creation and open operations will happen atomically which provides an opportunity for an attacker to interfere with the availability of the file before it is opened.

EPSS

0

Percentile

9.0%