Insecure Temporary File in mlflow/mlflow
Reported on
Jan 8th 2022
Description
mlflow
package is using the deprecated function tempfile.mktemp()
which is not secure. Because a different process may create a file with this name in the time between the call to mktemp()
and the subsequent attempt to create the file by the first process.
Impact
Availability will get affected because of this vulnerability.
Remediation
Use mkstemp()
instead of tempfile.mktemp()
Occurrences
SECURITY.md
2 years ago