-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
The vulnerability stems from the unvalidated use of handle.scalar<tstring>() in GetSessionTensorOp's Compute method. The code assumed handle was a scalar but didn't verify TensorShapeUtils::IsScalar(handle.shape()), which was added in the security patch. The Python PoC demonstrates exploitation via a rank-0 tensor, and the commit diff specifically adds this missing validation check in the Compute function.
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| tensorflow | pip | < 2.6.4 | 2.6.4 |
| tensorflow-cpu | pip | < 2.6.4 | 2.6.4 |
| tensorflow-gpu | pip |
| < 2.6.4 |
| 2.6.4 |
| tensorflow | pip | >= 2.7.0, < 2.7.2 | 2.7.2 |
| tensorflow | pip | >= 2.8.0, < 2.8.1 | 2.8.1 |
| tensorflow-cpu | pip | >= 2.7.0, < 2.7.2 | 2.7.2 |
| tensorflow-cpu | pip | >= 2.8.0, < 2.8.1 | 2.8.1 |
| tensorflow-gpu | pip | >= 2.7.0, < 2.7.2 | 2.7.2 |
| tensorflow-gpu | pip | >= 2.8.0, < 2.8.1 | 2.8.1 |