VDB
Sign up
MEDIUM6.5

PYSEC-2020-133

Quick fix

PYSEC-2020-133 — tensorflow: upgrade to the fixed version with the command below.

pip install --upgrade 'tensorflow>=d58c96946b2880991d63d1dacacb32f0a4dfa453'

Details

In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, if a TFLite saved model uses the same tensor as both input and output of an operator, then, depending on the operator, we can observe a segmentation fault or just memory corruption. We have patched the issue in d58c96946b and will release patch releases for all versions between 1.15 and 2.3. We recommend users to upgrade to TensorFlow 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/tensorflow
Introduced in: 0Fixed in: d58c96946b2880991d63d1dacacb32f0a4dfa453
Fixpip install --upgrade 'tensorflow>=d58c96946b2880991d63d1dacacb32f0a4dfa453'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/tensorflow"]}'