Segfault in `CompositeTensorVariantToComponents` in Tensorflow
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
≥ 2.9.0 · < 2.9.3≥ 2.10.0 · < 2.10.1
|
| tensorflow-gpu PyPI |
|
|
TensorFlow is an open source platform for machine learning. An input `encoded` that is not a valid `CompositeTensorVariant` tensor will trigger a segfault in `tf.raw_ops.CompositeTensorVariantToComponents`. We have patched the issue in GitHub commits bf594d08d377dc6a3354d9fdb494b32d45f91971 and 660ce5a89eb6766834bdc303d2ab3902aef99d3d. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
From the CVE record · GitHub_M
An invalid `CompositeTensorVariant` input to `tf.raw_ops.CompositeTensorVariantToComponents` can trigger a segmentation fault. The input must reach that operation; the advisory does not specify whether exploitation requires network access, authentication, or user interaction.
Anyone running PyPI `tensorflow`, `tensorflow-cpu`, or `tensorflow-gpu` versions below 2.8.4, from 2.9.0 to below 2.9.3, or from 2.10.0 to below 2.10.1 should check their installation.