Segfault while copying constant resource tensor
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 during TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault, as these tensors are supposed to not change. 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
In affected TensorFlow versions, Grappler's constant folding may attempt to deep-copy a resource tensor, causing a segmentation fault. An attacker who can trigger this behavior could crash the process; the input does not specify whether network access, authentication, or user interaction is required.
Teams using PyPI tensorflow, tensorflow-cpu, or tensorflow-gpu versions below 2.4.4, from 2.5.0 to before 2.5.2, from 2.6.0 to before 2.6.1, or from 2.7.0rc0 to before 2.7.0 should check their installations.