Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-23590 BIT-tensorflow-2022-23590EUVD-2022-0338GHSA-pqrv-8r2f-7278PYSEC-2022-154PYSEC-2022-99PYSEC-2026-3225

Crash due to erroneous `StatusOr` in Tensorflow

Published Feb 4, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

Description

Tensorflow is an Open Source Machine Learning Framework. A `GraphDef` from a TensorFlow `SavedModel` can be maliciously altered to cause a TensorFlow process to crash due to encountering a `StatusOr` value that is an error and forcibly extracting the value from it. We have patched the issue in multiple GitHub commits and these will be included in TensorFlow 2.8.0 and TensorFlow 2.7.1, as both are affected.

Affected products

VendorProductAffectedFixed
tensorflow tensorflow >= 2.7.0, < 2.8.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tensorflow < 2.7.1 2.7.1 GHSA-pqrv-8r2f-7278
PyPI tensorflow-cpu < 2.7.1 2.7.1 GHSA-pqrv-8r2f-7278
PyPI tensorflow-gpu < 2.7.1 2.7.1 GHSA-pqrv-8r2f-7278

References