TensorFlow 2.811 Segfault via invalid CompositeTensorVariant
CVE-2022-41909 Published on November 18, 2022
Segfault in `CompositeTensorVariantToComponents` in Tensorflow
TensorFlow is an open source platform for machine learning. An input `encoded` that is not a valid `CompositeTensorVariant` tensor will trigger a segfault in `tf.raw_ops.CompositeTensorVariantToComponents`. We have patched the issue in GitHub commits bf594d08d377dc6a3354d9fdb494b32d45f91971 and 660ce5a89eb6766834bdc303d2ab3902aef99d3d. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
Vulnerability Analysis
CVE-2022-41909 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2022-41909. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Type
Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Products Associated with CVE-2022-41909
Want to know whenever a new CVE is published for Google Tensorflow? stack.watch will email you.
Affected Versions
tensorflow:- Version >= 2.10.0, < 2.10.1 is affected.
- Version >= 2.9.0, < 2.9.3 is affected.
- Version < 2.8.4 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2022-41909
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| pip | tensorflow | < 2.8.4 | 2.8.4 |
| pip | tensorflow | >= 2.9.0, < 2.9.3 | 2.9.3 |
| pip | tensorflow | >= 2.10.0, < 2.10.1 | 2.10.1 |
| pip | tensorflow-cpu | < 2.8.4 | 2.8.4 |
| pip | tensorflow-gpu | < 2.8.4 | 2.8.4 |
| pip | tensorflow-cpu | >= 2.9.0, < 2.9.3 | 2.9.3 |
| pip | tensorflow-gpu | >= 2.9.0, < 2.9.3 | 2.9.3 |
| pip | tensorflow-cpu | >= 2.10.0, < 2.10.1 | 2.10.1 |
| pip | tensorflow-gpu | >= 2.10.0, < 2.10.1 | 2.10.1 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.