VDB
Sign up
MEDIUM6.5

PYSEC-2020-253

Quick fix

PYSEC-2020-253 — tensorflow: upgrade to the fixed version with the command below.

pip install --upgrade 'tensorflow>=49f73c55d56edffebde4bca4a407ad69c1cae433'

Details

TensorFlow before 1.7.0 has an integer overflow that causes an out-of-bounds read, possibly causing disclosure of the contents of process memory. This occurs in the DecodeBmp feature of the BMP decoder in core/kernels/decode_bmp_op.cc.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/tensorflow
Introduced in: 0Fixed in: 49f73c55d56edffebde4bca4a407ad69c1cae433
Fixpip install --upgrade 'tensorflow>=49f73c55d56edffebde4bca4a407ad69c1cae433'

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