PT-2022-26118 · Google · Tensorflow
Pattarakrit Rattankul
·
Published
2022-11-18
·
Updated
2024-03-06
·
CVE-2022-41887
CVSS v3.1
4.8
Medium
| Vector | AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
TensorFlow versions prior to 2.11
TensorFlow versions 2.10.1 and earlier
TensorFlow versions 2.9.3 and earlier
Description
TensorFlow is an open source platform for machine learning. The
tf.keras.losses.poisson function receives a y pred and y true that are passed through functor::mul in BinaryOp. If the resulting dimensions overflow an int32, TensorFlow will crash due to a size mismatch during broadcast assignment.Recommendations
For TensorFlow versions prior to 2.11, update to version 2.11 or later.
For TensorFlow versions 2.10.1 and earlier, update to version 2.10.1 or later.
For TensorFlow versions 2.9.3 and earlier, update to version 2.9.3 or later.
As a temporary workaround, consider avoiding the use of
tf.keras.losses.poisson with large input dimensions until a patch is available.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tensorflow