Skip to content
MediumVulnerability

CVE-2022-36018: TensorFlow denial of service through RaggedTensorToVariant with malformed splits

Identifier
CVE-2022-36018
Published
Record updated
View JSON
Affected
  • tensorflow < 2.7.2, fixed in 2.7.2
  • tensorflow >= 2.8.0, < 2.8.1, fixed in 2.8.1
  • tensorflow >= 2.9.0, < 2.9.1, fixed in 2.9.1
  • and 6 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

TensorFlow's `RaggedTensorToVariant` crashes on a `CHECK` failure when `rt_nested_splits` contains tensors whose ranks are not one. The flaw can be triggered to cause a denial of service. The affected release line is identified in the source by its version numbers.

Mitigation

Patched in GitHub commit 88f93dfe691563baa4ae1e80ccde2d5c7a143821. The fix will be included in TensorFlow 2.10.0 and cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2.