Skip to content
MediumVulnerability

CVE-2022-41884: TensorFlow numpy array creation error with zero-sized shape element

Identifier
CVE-2022-41884
Published
Record updated
View JSON
Affected
  • tensorflow < 2.8.4, fixed in 2.8.4, released November 16, 2022, 3 days before disclosure
  • tensorflow >= 2.9.0, < 2.9.3, fixed in 2.9.3, released November 16, 2022, 3 days before disclosure
  • tensorflow >= 2.10.0, < 2.10.1, fixed in 2.10.1, released November 16, 2022, 3 days before disclosure
  • and 6 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2022-41884 affects TensorFlow, an open source machine learning platform. When a numpy array is created with a shape where one element is zero and the others sum to a large number, TensorFlow raises an error.

Mitigation

The issue is patched in GitHub commit 2b56169c16e375c521a3bc8ea658811cc0793784. The fix will be included in TensorFlow 2.11, and the commit will also be cherry-picked onto TensorFlow 2.10.1, 2.9.3, and 2.8.4.