Buffer Overflow Affecting tensorflow-cpu package, versions [, 2.1.4) [2.2.0, 2.2.3) [2.3.0, 2.3.3) [2.4.0, 2.4.2)
Threat Intelligence
EPSS
0.05% (20th
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-TENSORFLOWCPU-1296506
- published 24 May 2021
- disclosed 21 May 2021
- credit Unknown
How to fix?
Upgrade tensorflow-cpu
to version 2.1.4, 2.2.3, 2.3.3, 2.4.2 or higher.
Overview
tensorflow-cpu is a machine learning framework.
Affected versions of this package are vulnerable to Buffer Overflow due to heap buffer overflow caused by rounding.
An attacker can trigger a heap buffer overflow in tf.raw_ops.QuantizedResizeBilinear
by manipulating input values so that float rounding results in off-by-one error in accessing image elements.
References
CVSS Scores
version 3.1