CVE-2022-41887
TensorFlow Integer Overflow Crash
Description
TensorFlow is an open source platform for machine learning. `tf.keras.losses.poisson` 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. We have patched the issue in GitHub commit c5b30379ba87cbe774b08ac50c1f6d36df4ebb7c. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1 and 2.9.3, as these are also affected and still in supported range. However, we will not cherrypick this commit into TensorFlow 2.8.x, as it depends on Eigen behavior that changed between 2.8 and 2.9.
INFO
Published Date :
Nov. 18, 2022, 10:15 p.m.
Last Modified :
Nov. 22, 2022, 9:55 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-41887 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-41887
.
URL | Resource |
---|---|
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/cwise_ops_common.h | Third Party Advisory |
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/losses.py | Third Party Advisory |
https://github.com/tensorflow/tensorflow/commit/c5b30379ba87cbe774b08ac50c1f6d36df4ebb7c | Patch Third Party Advisory |
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-8fvv-46hw-vpg3 | Exploit Patch Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-41887
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-41887
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Nov. 22, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/cwise_ops_common.h No Types Assigned https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/cwise_ops_common.h Third Party Advisory Changed Reference Type https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/losses.py No Types Assigned https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/losses.py Third Party Advisory Changed Reference Type https://github.com/tensorflow/tensorflow/commit/c5b30379ba87cbe774b08ac50c1f6d36df4ebb7c No Types Assigned https://github.com/tensorflow/tensorflow/commit/c5b30379ba87cbe774b08ac50c1f6d36df4ebb7c Patch, Third Party Advisory Changed Reference Type https://github.com/tensorflow/tensorflow/security/advisories/GHSA-8fvv-46hw-vpg3 No Types Assigned https://github.com/tensorflow/tensorflow/security/advisories/GHSA-8fvv-46hw-vpg3 Exploit, Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.9.0 up to (excluding) 2.9.3 *cpe:2.3:a:google:tensorflow:2.10.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-41887
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-41887
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.16 }} 0.03%
score
0.52932
percentile