PT-2022-23047 · Google · Tensorflow
Jingyi Shi
·
Published
2022-09-16
·
Updated
2024-03-06
·
CVE-2022-35941
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
TensorFlow versions prior to 2.10.0
TensorFlow versions 2.9.0 through 2.9.1
TensorFlow versions 2.8.0 through 2.8.1
TensorFlow versions 2.7.0 through 2.7.2
Description
The
AvgPoolOp function in TensorFlow takes an argument ksize that must be positive but is not checked. A negative ksize can trigger a CHECK failure and crash the program.Recommendations
For TensorFlow versions prior to 2.10.0, update to version 2.10.0 or later.
For TensorFlow versions 2.9.0 through 2.9.1, update to version 2.9.1 or later.
For TensorFlow versions 2.8.0 through 2.8.1, update to version 2.8.1 or later.
For TensorFlow versions 2.7.0 through 2.7.2, update to version 2.7.2 or later.
As a temporary workaround, consider validating the
ksize argument to ensure it is positive before passing it to the AvgPoolOp function.Exploit
Fix
Assertion Failure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tensorflow