CHECK-fail in LSTM with zero-length input in TensorFlow
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
2.3.2| tensorflow-cpu PyPI |
|
|
| tensorflow-gpu PyPI |
|
|
In affected versions of TensorFlow running an LSTM/GRU model where the LSTM/GRU layer receives an input with zero-length results in a CHECK failure when using the CUDA backend. This can result in a query-of-death vulnerability, via denial of service, if users can control the input to the layer. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.
From the CVE record · GitHub_M
Affected TensorFlow versions fail a CHECK when an LSTM/GRU layer receives zero-length input while using the CUDA backend. If users can control that input, they can cause a denial of service.
Check deployments using the PyPI tensorflow, tensorflow-cpu, or tensorflow-gpu packages in versions below 1.15.5, 2.0.0–2.0.3, 2.1.0–2.1.2, 2.2.0–2.2.1, or 2.3.0–2.3.1.