Skip to content
OpenAdvisories
High · 8.8 CVE-2022-23594 BIT-tensorflow-2022-23594EUVD-2022-0947GHSA-9x52-887g-fhc2PYSEC-2026-3157PYSEC-2026-3309PYSEC-2026-752

Out of bounds read in Tensorflow

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

Description

Tensorflow is an Open Source Machine Learning Framework. The TFG dialect of TensorFlow (MLIR) makes several assumptions about the incoming `GraphDef` before converting it to the MLIR-based dialect. If an attacker changes the `SavedModel` format on disk to invalidate these assumptions and the `GraphDef` is then converted to MLIR-based IR then they can cause a crash in the Python interpreter. Under certain scenarios, heap OOB read/writes are possible. These issues have been discovered via fuzzing and it is possible that more weaknesses exist. We will patch them as they are discovered.

Affected products

VendorProductAffectedFixed
tensorflow tensorflow >= 2.7.0, < 2.8.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tensorflow >= 2.7.0, < 2.7.1 2.7.1 GHSA-9x52-887g-fhc2
PyPI tensorflow-cpu >= 2.7.0, < 2.7.1 2.7.1 GHSA-9x52-887g-fhc2
PyPI tensorflow-gpu >= 2.7.0, < 2.7.1 2.7.1 GHSA-9x52-887g-fhc2

References