Skip to content
MediumVulnerability

CVE-2022-35993: TensorFlow is an open source platform for machine learning. When `SetSize` receives an input `set_shape` that is not a…

Identifier
CVE-2022-35993
Published
Record updated
View JSON
Affected
  • tensorflow < 2.7.2, fixed in 2.7.2, released May 16, 2022, 124 days before disclosure
  • tensorflow >= 2.8.0, < 2.8.1, fixed in 2.8.1, released May 16, 2022, 124 days before disclosure
  • tensorflow >= 2.9.0, < 2.9.1, fixed in 2.9.1, released May 23, 2022, 117 days before disclosure
  • and 6 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

TensorFlow's `SetSize` function fails a `CHECK` when its input `set_shape` is not a 1D tensor, which can be triggered to cause a denial of service. The issue is patched in GitHub commit cf70b79d2662c0d3c6af74583641e345fc939467 and will ship in TensorFlow 2.10.0. The fix will also be cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2, which are affected and still in supported range.

Mitigation

Fixed in TensorFlow 2.10.0 via GitHub commit cf70b79d2662c0d3c6af74583641e345fc939467, which will also be cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. There are no known workarounds for this issue.