Improper Input Validation Affecting tensorflow-gpu package, versions [2.5.0,2.5.1) [2.4.0,2.4.3) [,2.3.4)
Snyk CVSS
Attack Complexity
Low
Availability
High
Threat Intelligence
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-TENSORFLOWGPU-1540811
- published 13 Aug 2021
- disclosed 13 Aug 2021
- credit Unknown
Introduced: 13 Aug 2021
CVE-2021-37644 Open this link in a new tabHow to fix?
Upgrade tensorflow-gpu
to version 2.5.1, 2.4.3, 2.3.4 or higher.
Overview
tensorflow-gpu is a machine learning framework.
Affected versions of this package are vulnerable to Improper Input Validation as providing a negative element to num_elements
list argument of tf.raw_ops.TensorListReserve
causes the runtime to abort the process due to reallocating a std::vector
to have a negative number of elements. The implementation calls std::vector.resize()
with the new size controlled by input given by the user, without checking that this input is valid.