TensorFlow has Segfault in Bincount with XLA
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 machine learning platform. When running versions prior to 2.12.0 and 2.11.1 with XLA, `tf.raw_ops.Bincount` segfaults when given a parameter `weights` that is neither the same shape as parameter `arr` nor a length-0 tensor. A fix is included in TensorFlow 2.12.0 and 2.11.1.
From the CVE record · GitHub_M
TensorFlow versions before 2.11.1 and 2.12.0 can segfault when running `tf.raw_ops.Bincount` with XLA if `weights` has neither the same shape as `arr` nor length zero. An attacker who can cause this operation to run with those inputs could crash the process; the input does not specify network access, authentication requirements, or user interaction.
Check installations of the PyPI packages tensorflow, tensorflow-cpu, or tensorflow-gpu older than 2.11.1 that run XLA.