Skip to content
MediumVulnerability

CVE-2022-41885: TensorFlow buffer overflow in tf.raw_ops.FusedResizeAndPadConv2D

Identifier
CVE-2022-41885
Published
Record updated
View JSON
Affected
  • tensorflow < 2.7.4, fixed in 2.7.4, released September 2, 2022, 78 days before disclosure
  • tensorflow >= 2.8.0, < 2.8.1, fixed in 2.8.1, released May 16, 2022, 187 days before disclosure
  • tensorflow >= 2.9.0, < 2.9.1, fixed in 2.9.1, released May 23, 2022, 180 days before disclosure
  • and 6 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2022-41885 is a buffer size overflow in TensorFlow's `tf.raw_ops.FusedResizeAndPadConv2D` when it receives a large tensor shape. The flaw is tracked as CWE-131, Incorrect Calculation of Buffer Size. The source states that TensorFlow 2.10.1, 2.9.3 and 2.8.4 are also affected and still in supported range.

Mitigation

Patched in GitHub commit d66e1d568275e6a2947de97dca7a102a211e01ce. The fix will be included in TensorFlow 2.11, and the commit will be cherry-picked to TensorFlow 2.10.1, 2.9.3 and 2.8.4.