CVE-2021-29608
Summary
| CVE | CVE-2021-29608 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-05-14 20:15:00 UTC |
| Updated | 2021-07-26 16:23:00 UTC |
| Description | TensorFlow is an end-to-end open source platform for machine learning. Due to lack of validation in `tf.raw_ops.RaggedTensorToTensor`, an attacker can exploit an undefined behavior if input arguments are empty. The implementation(https://github.com/tensorflow/tensorflow/blob/656e7673b14acd7835dc778867f84916c6d1cac2/tensorflow/core/kernels/ragged_tensor_to_tensor_op.cc#L356-L360) only checks that one of the tensors is not empty, but does not check for the other ones. There are multiple `DCHECK` validations to prevent heap OOB, but these are no-op in release builds, hence they don't prevent anything. The fix will be included in TensorFlow 2.5.0. We will also cherrypick these commits on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Heap OOB and null pointer dereference in `RaggedTensorToTensor` · Advisory · tensorflow/tensorflow · GitHub |
CONFIRM |
github.com |
|
| Fix heap OOB / undefined behavior in `RaggedTensorToTensor` · tensorflow/tensorflow@c4d7afb · GitHub |
MISC |
github.com |
|
| Fix `tf.raw_ops.RaggedTensorToTensor` failing CHECK. · tensorflow/tensorflow@b761c9b · GitHub |
MISC |
github.com |
|
| Fix `tf.raw_ops.RaggedTensorToTensor` failing CHECK in `tensor.cc`. · tensorflow/tensorflow@f94ef35 · 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.
Legacy QID Mappings
- 982446 Python (pip) Security Update for tensorflow-gpu (GHSA-rgvq-pcvf-hx75)