Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tensorflow | tensorflow | < 2.11.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | tensorflow | 2.11.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | tensorflow | 2.11.1-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | tensorflow | < 2.11.1 | 2.11.1 | GHSA-7x4v-9gxg-9hwj |
| PyPI | tensorflow-cpu | < 2.11.1 | 2.11.1 | GHSA-7x4v-9gxg-9hwj |
| PyPI | tensorflow-gpu | < 2.11.1 | 2.11.1 | GHSA-7x4v-9gxg-9hwj |