TensorFlow vulnerable to seg fault in `tf.raw_ops.Print`
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
|
| tensorflow-gpu PyPI |
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
|
| tensorflow-gpu PyPI |
< 2.11.1
|
TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, when the parameter `summarize` of `tf.raw_ops.Print` is zero, the new method `SummarizeArray<bool>` will reference to a nullptr, leading to a seg fault. A fix is included in TensorFlow version 2.12 and version 2.11.1.
From the CVE record · GitHub_M
In affected TensorFlow versions, setting `summarize` to zero in `tf.raw_ops.Print` causes a null-pointer dereference and segmentation fault. An attacker who can trigger that operation under those conditions could crash the process. The input does not specify network access, authentication, or user-interaction requirements.
Check installations of the PyPI packages `tensorflow`, `tensorflow-cpu`, and `tensorflow-gpu` running versions earlier than 2.11.1.