{"id":"PYSEC-2022-101","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.","aliases":["BIT-tensorflow-2022-23592","CVE-2022-23592","GHSA-vq36-27g6-p492","PYSEC-2022-156"],"modified":"2025-10-09T08:30:22.506559Z","published":"2022-02-04T23:15:00Z","references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492"}],"affected":[{"package":{"name":"tensorflow-cpu","ecosystem":"PyPI","purl":"pkg:pypi/tensorflow-cpu"},"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"c99d98cd189839dcf51aee94e7437b54b31f8abd"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.8.0"}]}],"versions":["2.7.0","2.7.1","2.8.0rc0","2.8.0rc1","2.7.2","2.7.3","2.7.4"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/tensorflow-cpu/PYSEC-2022-101.yaml"}}],"schema_version":"1.7.3"}