Skip to content
HighVulnerability

CVE-2022-35937: TensorFlow out-of-bounds memory read in GatherNd function

Identifier
CVE-2022-35937
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.6%

Summary

TensorFlow's `GatherNd` function contains a flaw where inputs at least as large as the outputs trigger an out-of-bounds memory read. The issue is tracked as CVE-2022-35937 and affects TensorFlow versions that remain in supported range.

Mitigation

Patched in GitHub commit 595a65a3e224a0362d7e68c2213acfc2b499a196. The fix will be included in TensorFlow 2.10.0 and cherrypicked to TensorFlow 2.9.1, 2.8.1 and 2.7.2.