Description
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.TensorSummaryV2` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tensorflow | tensorflow | < 2.6.4, >= 2.7.0rc0, < 2.7.2, >= 2.8.0rc0, < 2.8.1, >= 2.9.0rc0, < 2.9.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | tensorflow | < 2.6.4 | 2.6.4 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow | >= 2.7.0, < 2.7.2 | 2.7.2 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow | >= 2.8.0, < 2.8.1 | 2.8.1 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow | < 2.6.4 · >= 2.7.0, < 2.7.2 · >= 2.8.0, < 2.8.1 | 2.6.4, 2.7.2, 2.8.1 | PYSEC-2026-3087 |
| PyPI | tensorflow-cpu | < 2.6.4 | 2.6.4 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow-cpu | >= 2.7.0, < 2.7.2 | 2.7.2 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow-cpu | >= 2.8.0, < 2.8.1 | 2.8.1 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow-cpu | < 2.6.4 · >= 2.7.0, < 2.7.2 · >= 2.8.0, < 2.8.1 | 2.6.4, 2.7.2, 2.8.1 | PYSEC-2026-3265 |
| PyPI | tensorflow-gpu | < 2.6.4 | 2.6.4 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow-gpu | >= 2.7.0, < 2.7.2 | 2.7.2 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow-gpu | >= 2.8.0, < 2.8.1 | 2.8.1 | GHSA-2p9q-h29j-3f5v |
| PyPI | tensorflow-gpu | < 2.6.4 · >= 2.7.0, < 2.7.2 · >= 2.8.0, < 2.8.1 | 2.6.4, 2.7.2, 2.8.1 | PYSEC-2026-942 |
References
- https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4
- https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2
- https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1
- https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-2p9q-h29j-3f5v
- https://github.com/tensorflow/tensorflow/commit/290bb05c80c327ed74fae1d089f1001b1e2a4ef7
- https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/core/kernels/summary_tensor_op.cc#L33-L58