—
PYSEC-2022-143
Quick fix
PYSEC-2022-143 — tensorflow-gpu: upgrade to the fixed version with the command below.
pip install --upgrade 'tensorflow-gpu>=92dba16749fae36c246bec3f9ba474d9ddeb7662'Details
Tensorflow is an Open Source Machine Learning Framework. The Grappler optimizer in TensorFlow can be used to cause a denial of service by altering a `SavedModel` such that `SafeToRemoveIdentity` would trigger `CHECK` failures. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/tensorflow-gpu
Introduced in:
0Fixed in: 92dba16749fae36c246bec3f9ba474d9ddeb7662Fix
pip install --upgrade 'tensorflow-gpu>=92dba16749fae36c246bec3f9ba474d9ddeb7662'References
- https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/grappler/optimizers/dependency_optimizer.cc#L59-L98[WEB]
- https://github.com/tensorflow/tensorflow/commit/92dba16749fae36c246bec3f9ba474d9ddeb7662[FIX]
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-5f2r-qp73-37mr[ADVISORY]