Skip to content
MediumVulnerability

CVE-2022-36012: TensorFlow crash in ConvertGenericFunctionToFunctionDef on empty attributes

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

Summary

CVE-2022-36012 affects TensorFlow. When mlir::tfg::ConvertGenericFunctionToFunctionDef receives empty function attributes, it crashes. The flaw is tracked as CWE-617 (Reachable Assertion), and GitHub is listed as the source.

Mitigation

Patched in GitHub commit ad069af92392efee1418c48ff561fd3070a03d7b. The fix will be included in TensorFlow 2.10.0, and the commit will also be cherry-picked to TensorFlow 2.9.1, 2.8.1 and 2.7.2, which are affected and still supported.