PYSEC-2022-101
Dashboard / Vulnerabilities / PYSEC-2022-101
PYSEC-2022-101
Summary:
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.
References: https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229, https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd, https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492
Affected packages
Package
Name: tensorflow-cpu
Purl: pkg:pypi/tensorflow-cpu
