CVE-2021-41206CWE-354

Incomplete validation of shapes in multiple TF ops

High · published November 5, 2021

CVSS v3.1
7.0
EPSS
0%
Percentile
7.2
In the wild
Unconfirmed
What it is

TensorFlow is an open source platform for machine learning. In affected versions several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. Depending on the API, this can result in undefined behavior and segfault or `CHECK`-fail related crashes but in some scenarios writes and reads from heap populated arrays are also possible. We have discovered these issues internally via tooling while working on improving/testing GPU op determinism. As such, we don't have reproducers and there will be multiple fixes for these issues. These fixes will be included in TensorFlow 2.7.0. We will also cherrypick these commits on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00180 · 7.2th percentile
Weakness
CWE-354 · Improper Validation of Integrity Check Value
Published
2021-11-05T22:05Z
EPSS history
Timeline
  • 05 NOV 22:05Z
    Incomplete validation of shapes in multiple TF ops
    cvelistv5