tensorflow
Affected
- introduced
2.6.0, fixed2.6.1(ecosystem)
Fixed versions
2.6.1
Fix
- Fixed version
2.6.1pip install --upgrade tensorflow==2.6.1
Advisory
Also known as: BIT-tensorflow-2021-41204, CVE-2021-41204, PYSEC-2021-397, PYSEC-2021-614, PYSEC-2021-812
Segfault while copying constant resource tensor
Impact
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.
Patches
We have patched the issue in GitHub commit 7731e8dfbe4a56773be5dc94d631611211156659.
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.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions
Medium Basis: The source's own band: MODERATE
2.6.0, fixed 2.6.1 (ecosystem)2.6.1
2.6.1pip install --upgrade tensorflow==2.6.12.5.0, fixed 2.5.2 (ecosystem)2.5.2
2.5.2pip install --upgrade tensorflow==2.5.20, fixed 2.4.4 (ecosystem)2.4.4
2.4.4pip install --upgrade tensorflow==2.4.42.6.0, fixed 2.6.1 (ecosystem)2.6.1
2.6.1pip install --upgrade tensorflow-cpu==2.6.12.5.0, fixed 2.5.2 (ecosystem)2.5.2
2.5.2pip install --upgrade tensorflow-cpu==2.5.20, fixed 2.4.4 (ecosystem)2.4.4
2.4.4pip install --upgrade tensorflow-cpu==2.4.42.6.0, fixed 2.6.1 (ecosystem)2.6.1
2.6.1pip install --upgrade tensorflow-gpu==2.6.12.5.0, fixed 2.5.2 (ecosystem)2.5.2
2.5.2pip install --upgrade tensorflow-gpu==2.5.20, fixed 2.4.4 (ecosystem)2.4.4
2.4.4pip install --upgrade tensorflow-gpu==2.4.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0