FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
≥ 2.9.0 · < 2.9.3≥ 2.10.0 · < 2.10.1
|
| tensorflow-gpu PyPI |
|
|
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.
From the CVE record · GitHub_M
TensorFlow’s FractionalMax(AVG)Pool operation is vulnerable when given an illegal pooling_ratio. An attacker who can trigger the operation with that value may access unintended heap memory, causing a crash or potentially remote code execution. The input does not specify whether network access, authentication, or user interaction is required.
Anyone running PyPI tensorflow, tensorflow-cpu, or tensorflow-gpu versions below 2.8.4, from 2.9.0 to below 2.9.3, or from 2.10.0 to below 2.10.1 should check their installation.