PYSEC-2021-397
Dashboard / Vulnerabilities / PYSEC-2021-397
PYSEC-2021-397
Published: 5 Nov 2021Last Modified: 6 Dec 2023
Summary:
Details: 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.
References: https://github.com/tensorflow/tensorflow/commit/7731e8dfbe4a56773be5dc94d631611211156659, https://github.com/tensorflow/tensorflow/security/advisories/GHSA-786j-5qwq-r36x
Affected packages
Package
Name: tensorflow
Purl: pkg:pypi/tensorflow
Affected ranges
Affected versions
0.12.0
0.12.1
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
