Insecure Temporary File Affecting transformers package, versions [0,4.30.0)
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.04% (11th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-TRANSFORMERS-5563628
- published 19 May 2023
- disclosed 19 May 2023
- credit ready-research
Introduced: 19 May 2023
CVE-2023-2800 Open this link in a new tabHow to fix?
Upgrade transformers
to version 4.30.0 or higher.
Overview
transformers is a State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
Affected versions of this package are vulnerable to Insecure Temporary File due to using the deprecated tempfile.mktemp()
function 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.
References
CVSS Scores
version 3.1