Skip to content
MediumVulnerability

CVE-2022-35984: TensorFlow ParameterizedTruncatedNormal denial of service via int64 shape

Identifier
CVE-2022-35984
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 `ParameterizedTruncatedNormal` assumes the `shape` argument is of type `int32`. Passing a valid `shape` of type `int64` triggers a mismatched type `CHECK` failure, which can be used to cause a denial of service.

Mitigation

Patched in GitHub commit 72180be03447a10810edca700cbc9af690dfeb51. 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, which are also affected and still in supported range. No known workarounds.