ADVISORIES

PyPA Advisory Database

PYSEC-2020-133

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.

Affected packages

EcosystemPackageAffected versions
PyPItensorflow
All versions before 1.15.4 (fixed in 1.15.4)
From 2.0.0 before 2.0.3 (fixed in 2.0.3)
From 2.1.0 before 2.1.2 (fixed in 2.1.2)
From 2.2.0 before 2.2.1 (fixed in 2.2.1)
From 2.3.0 before 2.3.1 (fixed in 2.3.1)

References