Heap-based Buffer Overflow Affecting tensorflow-cpu package, versions [2.3.0, 2.3.1)
Threat Intelligence
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-1013610
- published 29 Sep 2020
- disclosed 28 Sep 2020
- credit Unknown
Introduced: 28 Sep 2020
CVE-2020-15196 Open this link in a new tabHow to fix?
Upgrade tensorflow-cpu
to version 2.3.1 or higher.
Overview
tensorflow-cpu is a machine learning framework.
Affected versions of this package are vulnerable to Heap-based Buffer Overflow. The SparseCountSparseOutput
and RaggedCountSparseOutput
implementations don't validate that the weights
tensor has the same shape as the data. The check exists for DenseCountSparseOutput
, where both tensors are fully specified.In the sparse and ragged count weights are still accessed in parallel with the data.But, since there is no validation, a user passing fewer weights than the values for the tensors can generate a read from outside the bounds of the heap buffer allocated for the weights.