PYSEC-2020-325
Quick fix
PYSEC-2020-325 — tensorflow-gpu: upgrade to the fixed version with the command below.
pip install --upgrade 'tensorflow-gpu>=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
0Fixed in: d58c96946b2880991d63d1dacacb32f0a4dfa453pip install --upgrade 'tensorflow-gpu>=d58c96946b2880991d63d1dacacb32f0a4dfa453'References
- https://github.com/tensorflow/tensorflow/commit/d58c96946b2880991d63d1dacacb32f0a4dfa453[FIX]
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-x9j7-x98r-r4w2[ADVISORY]
- https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html[WEB]
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-gpu"]}'