Skip to content
MediumVulnerability

CVE-2022-29207: TensorFlow eager mode null pointer dereference from empty resource handle

Identifier
CVE-2022-29207
Published
Record updated
View JSON
Affected
  • tensorflow < 2.6.4, fixed in 2.6.4, released May 16, 2022, 5 days before disclosure
  • tensorflow >= 2.7.0, < 2.7.2, fixed in 2.7.2, released May 16, 2022, 5 days before disclosure
  • tensorflow >= 2.8.0, < 2.8.1, fixed in 2.8.1, released May 16, 2022, 5 days before disclosure
  • and 6 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

CVE-2022-29207 affects TensorFlow versions prior to 2.9.0, 2.8.1, 2.7.2, and 2.6.4. Multiple operations misbehave in eager mode when given an invalid resource handle; an empty handle causes a reference to be bound to a null pointer, which is undefined behavior. The issue was opened by migration to TF 2.x eager mode, since graph mode did not allow these calls.

Mitigation

Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.