CVE-2022-41902
Out of bounds write in grappler in Tensorflow
7.1
HIGH
CVSS 3.1
EPSS 0.29%
Description
TensorFlow is an open source platform for machine learning. The function MakeGrapplerFunctionItem takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read or a crash is triggered. We have patched the issue in GitHub commit a65411a1d69edfb16b25907ffb8f73556ce36bb7. The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.8.4, 2.9.3, and 2.10.1.
How to fix CVE-2022-41902
To remediate CVE-2022-41902, upgrade the affected package to a fixed version below.
- —upgrade to 2.8.4 or later
- —upgrade to 2.8.4 or later
- —upgrade to 2.8.4 or later
- —upgrade to 2.8.4 or later
Is CVE-2022-41902 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 2.8.4, >= 2.9.0, < 2.9.3, >= 2.10.0, < 2.10.1
- from 0, < 2.8.4
- from 0, < 2.8.4
- from 0, < 2.8.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |