CVE-2020-15208
Summary
| CVE | CVE-2020-15208 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-09-25 19:15:00 UTC |
| Updated | 2021-09-16 15:45:00 UTC |
| Description | In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two tensors, TFLite uses a `DCHECK` which is no-op outside of debug compilation modes. Since the function always returns the dimension of the first tensor, malicious attackers can craft cases where this is larger than that of the second tensor. In turn, this would result in reads/writes outside of bounds since the interpreter will wrongly assume that there is enough data in both tensors. The issue is patched in commit 8ee24e7949a203d234489f9da2c5bf45a7d5157d, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1. |
Risk And Classification
Problem Types: CWE-125 | CWE-787
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Tensorflow | All | All | All | All | |
| Operating System | Opensuse | Leap | 15.2 | All | All | All |
| Application | Tensorflow | Tensorflow | All | All | All | All |
| Application | Tensorflow | Tensorflow | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [tflite] Ensure `MatchingDim` does not allow buffer overflow. · tensorflow/tensorflow@8ee24e7 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| Release TensorFlow 2.3.1 · tensorflow/tensorflow · GitHub | MISC | github.com | Third Party Advisory |
| [security-announce] openSUSE-SU-2020:1766-1: moderate: Security update f | SUSE | lists.opensuse.org | |
| Data corruption due to dimension mismatch in TFLite · Advisory · tensorflow/tensorflow · GitHub | CONFIRM | github.com | Exploit, Third Party Advisory |
| 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
- 981468 Python (pip) Security Update for tensorflow-gpu (GHSA-mxjj-953w-2c2v)