Skip to content
MediumVulnerability

CVE-2022-29195: TensorFlow denial of service through tf.raw_ops.StagePeek input validation

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

Summary

CVE-2022-29195 affects TensorFlow versions before 2.9.0, 2.8.1, 2.7.2 and 2.6.4. The implementation of `tf.raw_ops.StagePeek` does not fully validate its input arguments, and the code assumes `index` is a scalar without checking it before reading its value, which causes a `CHECK`-failure that can be used for a denial of service attack.

Mitigation

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