Skip to content
MediumVulnerability

CVE-2022-35998: TensorFlow denial of service via EmptyTensorList element_shape input

Identifier
CVE-2022-35998
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
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

TensorFlow's `EmptyTensorList` triggers a `CHECK` failure when its input `element_shape` has more than one dimension. An attacker can use this to cause a denial of service.

Mitigation

Fixed in GitHub commit c8ba76d48567aed347508e0552a257641931024d, included in TensorFlow 2.10.0. The commit will also be cherrypicked to TensorFlow 2.9.1, 2.8.1 and 2.7.2. No known workarounds.