CVE-2022-35939

HIGH

TensorFlow 2.7.0-2.7.1 - Out-of-bounds Write in ScatterNd Function

Title source: llm
STIX 2.1

Description

TensorFlow is an open source platform for machine learning. The `ScatterNd` function takes an input argument that determines the indices of of the output tensor. An input index greater than the output tensor or less than zero will either write content at the wrong index or trigger a crash. We have patched the issue in GitHub commit b4d4b4cb019bd7240a52daa4ba61e3cc814f0384. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.

Scores

CVSS v3 7.0
EPSS 0.0042
EPSS Percentile 33.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-787
Status published
Products (5)
google/tensorflow 2.10 rc0 (4 CPE variants)
google/tensorflow 2.7.0 - 2.7.2
pypi/tensorflow 0 - 2.7.2PyPI
pypi/tensorflow-cpu 0 - 2.7.2PyPI
pypi/tensorflow-gpu 0 - 2.7.2PyPI
Published Sep 16, 2022
Tracked Since Feb 18, 2026