LOW3.3
PYSEC-2020-336
Quick fix
PYSEC-2020-336 — tensorflow-gpu: upgrade to the fixed version with the command below.
pip install --upgrade 'tensorflow-gpu>=14755416e364f17fb1870882fa778c7fec7f16e3'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/tensorflow-gpu
Introduced in:
0Fixed in: 14755416e364f17fb1870882fa778c7fec7f16e3Fix
pip install --upgrade 'tensorflow-gpu>=14755416e364f17fb1870882fa778c7fec7f16e3'References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/tensorflow-gpu"]}'