CVE-2022-35960
Summary
| CVE | CVE-2022-35960 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-09-16 20:15:00 UTC |
| Updated | 2022-09-21 17:09:00 UTC |
| Description | TensorFlow is an open source platform for machine learning. In `core/kernels/list_kernels.cc's TensorListReserve`, `num_elements` is assumed to be a tensor of size 1. When a `num_elements` of more than 1 element is provided, then `tf.raw_ops.TensorListReserve` fails the `CHECK_EQ` in `CheckIsAlignedAndSingleElement`. We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue. |
Risk And Classification
Problem Types: CWE-617
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Tensorflow | All | All | All | All | |
| Application | Tensorflow | 2.10 | rc0 | All | All | |
| Application | Tensorflow | 2.10 | rc1 | All | All | |
| Application | Tensorflow | 2.10 | rc2 | All | All | |
| Application | Tensorflow | 2.10 | rc3 | All | All | |
| Application | Tensorflow | 2.8.0 | All | All | All | |
| Application | Tensorflow | 2.9.0 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| `CHECK` failure in `TensorListReserve` via missing validation · Advisory · tensorflow/tensorflow · GitHub | CONFIRM | github.com | |
| tensorflow/list_kernels.cc at c8ba76d48567aed347508e0552a257641931024d · tensorflow/tensorflow · GitHub | MISC | github.com | |
| Re-enable testTensorListReserveWithNonScalarNumElements to work with … · tensorflow/tensorflow@b5f6fbf · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.