Segfault due to negative splits in `SplitV`
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
|
| tensorflow-gpu PyPI |
|
|
TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SplitV` can trigger a segfault is an attacker supplies negative arguments. This occurs whenever `size_splits` contains more than one value and at least one value is negative. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
From the CVE record · GitHub_M
Affected TensorFlow packages can segfault when `SplitV` receives `size_splits` with more than one value and at least one negative value. An attacker who can supply those arguments can trigger the crash; the input does not specify network access, authentication, or user-interaction requirements.
Check installations of the PyPI packages `tensorflow`, `tensorflow-cpu`, and `tensorflow-gpu` in versions >=2.6.0 <2.6.1, >=2.5.0 <2.5.2, <2.4.4, or >=2.7.0rc0 <2.7.0.