CVE-2022-23578
Summary
| CVE | CVE-2022-23578 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-02-04 23:15:00 UTC |
| Updated | 2022-02-10 15:17:00 UTC |
| Description | Tensorflow is an Open Source Machine Learning Framework. If a graph node is invalid, TensorFlow can leak memory in the implementation of `ImmutableExecutorState::Initialize`. Here, we set `item->kernel` to `nullptr` but it is a simple `OpKernel*` pointer so the memory that was previously allocated to it would leak. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range. |
Risk And Classification
Problem Types: CWE-401
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Tensorflow | 2.7.0 | All | All | All | |
| Application | Tensorflow | All | All | All | All | |
| Application | Tensorflow | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Fix memory leak when a graph node is invalid. · tensorflow/tensorflow@c79ccba · GitHub | MISC | github.com | |
| Memory leak when a graph node is invalid · Advisory · tensorflow/tensorflow · GitHub | CONFIRM | github.com | |
| tensorflow/immutable_executor_state.cc at a1320ec1eac186da1d03f033109191f715b2b130 · tensorflow/tensorflow · 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.