Skip to content
MediumVulnerability

CVE-2022-23590: TensorFlow crash from malicious GraphDef in SavedModel

Identifier
CVE-2022-23590
Published
Record updated
View JSON
Affected
  • tensorflow < 2.7.1
  • tensorflow-cpu < 2.7.1
  • tensorflow-gpu < 2.7.1
Fixed in
2.7.1
  • tensorflow 2.7.1 released February 2, 2022, 3 days before disclosure
  • tensorflow-cpu 2.7.1 released February 2, 2022, 3 days before disclosure
  • tensorflow-gpu 2.7.1 released February 2, 2022, 3 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.0%

Summary

CVE-2022-23590 affects TensorFlow. A GraphDef inside a TensorFlow SavedModel can be maliciously altered so that a TensorFlow process crashes when it encounters a StatusOr value holding an error and forcibly extracts the value from it. The source says both TensorFlow 2.8.0 and TensorFlow 2.7.1 are affected.

Mitigation

Patched in multiple GitHub commits, to be included in TensorFlow 2.8.0 and TensorFlow 2.7.1.