Vulnerability · Published Nov 18, 2022 · Assigned by GitHub_M
CVE-2022-41900FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow
High 7.1
In plain English
A high-severity out-of-bounds write in tensorflow from tensorflow. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
TensorFlow is an open source platform for machine learning. The security vulnerability results in FractionalMax(AVG)Pool with illegal pooling_ratio. Attackers using Tensorflow can exploit the vulnerability. They can access heap memory which is not in the control of user, leading to a crash or remote code execution. We have patched the issue in GitHub commit 216525144ee7c910296f5b05d214ca1327c9ce48. The fix will be included in TensorFlow 2.11.0. We will also cherry pick this commit on TensorFlow 2.10.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | tensorflow | 2.8.4 | GHSA-xvwp-h6jv-7472 |
| PyPI | tensorflow | 2.10.1 | GHSA-xvwp-h6jv-7472 |
| PyPI | tensorflow | 2.10.1, 2.8.4, 2.9.3 | PYSEC-2026-3261 |
| PyPI | tensorflow | 2.9.3 | GHSA-xvwp-h6jv-7472 |
| PyPI | tensorflow-cpu | 2.10.1, 2.8.4, 2.9.3 | PYSEC-2026-3383 |
| PyPI | tensorflow-cpu | 2.8.4 | GHSA-xvwp-h6jv-7472 |
| PyPI | tensorflow-cpu | 2.9.3 | GHSA-xvwp-h6jv-7472 |
| PyPI | tensorflow-cpu | 2.10.1 | GHSA-xvwp-h6jv-7472 |
| PyPI | tensorflow-gpu | 2.10.1 | GHSA-xvwp-h6jv-7472 |
| PyPI | tensorflow-gpu | 2.10.1, 2.8.4, 2.9.3 | PYSEC-2026-1049 |
| PyPI | tensorflow-gpu | 2.9.3 | GHSA-xvwp-h6jv-7472 |
| PyPI | tensorflow-gpu | 2.8.4 | GHSA-xvwp-h6jv-7472 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tensorflow | tensorflow | >= 2.10.0, < 2.10.1>= 2.9.0, < 2.9.3< 2.8.4 |
Weakness: CWE-787, CWE-125 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H