VDB
Sign up
HIGH8.1

PYSEC-2022-156

Quick fix

PYSEC-2022-156 — tensorflow-gpu: upgrade to the fixed version with the command below.

pip install --upgrade 'tensorflow-gpu>=c99d98cd189839dcf51aee94e7437b54b31f8abd'

Details

Tensorflow is an Open Source Machine Learning Framework. TensorFlow's type inference can cause a heap out of bounds read as the bounds checking is done in a `DCHECK` (which is a no-op during production). An attacker can control the `input_idx` variable such that `ix` would be larger than the number of values in `node_t.args`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/tensorflow-gpu
Introduced in: 0Fixed in: c99d98cd189839dcf51aee94e7437b54b31f8abd
Fixpip install --upgrade 'tensorflow-gpu>=c99d98cd189839dcf51aee94e7437b54b31f8abd'

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"]}'