CVE-2022-23593

Medium

Description

Tensorflow is an Open Source Machine Learning Framework. The `simplifyBroadcast` function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault (hence, denial of service), if called with scalar shapes. If all shapes are scalar, then `maxRank` is 0, so we build an empty `SmallVector`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.

SeverityMedium
CVSS5.9
Exploit probability—
ProductGoogle Tensorflow
PublishedFeb 4, 2022
First seenFeb 4, 2022
Weakness typeCWE-754CWE-754

How to fix

Update
  • google tensorflow2.8.0 or later
  • tensorflow2.8.0 or later
  • tensorflow-cpu2.8.0 or later
  • tensorflow-gpu2.8.0 or later

Affected products

ProductAffected versionsFixed in
google tensorflow2.7.0 ≤ v < 2.8.02.8.0
tensorflowPyPI2.8.0-rc0 ≤ v < 2.8.02.8.0
tensorflow-cpuPyPI2.8.0-rc0 ≤ v < 2.8.0, 2.7.0 ≤ v < 2.8.02.8.0
tensorflow-gpuPyPI2.8.0-rc0 ≤ v < 2.8.0, 2.7.0 ≤ v < 2.8.02.8.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.