Tensorflow — Dos (CVE-2022-23593)
Date: 2022-02
Affected: google/tensorflow
Attack vector: dos
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2022-23593
CWE: CWE-754
CVSS: 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):