Denial of service in TensorFlow due to lack of validation in `tf.ragged.constant`
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
≥ 2.7.0 · < 2.7.2≥ 2.8.0 · < 2.8.1
|
| tensorflow-gpu PyPI |
|
|
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.ragged.constant` does not fully validate the input arguments. This results in a denial of service by consuming all available memory. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
From the CVE record · GitHub_M
The tf.ragged.constant implementation does not fully validate input arguments. Invalid input can consume all available memory and cause a denial of service. The input does not specify network access, authentication, or user-interaction requirements.
Check installations of the PyPI tensorflow, tensorflow-cpu, or tensorflow-gpu packages below 2.6.4, from 2.7.0 to below 2.7.2, or from 2.8.0 to below 2.8.1.