CVE-2021-41197
Summary
| CVE | CVE-2021-41197 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-11-05 20:15:00 UTC |
| Updated | 2021-11-09 14:30:00 UTC |
| Description | TensorFlow is an open source platform for machine learning. In affected versions TensorFlow allows tensor to have a large number of dimensions and each dimension can be as large as desired. However, the total number of elements in a tensor must fit within an `int64_t`. If an overflow occurs, `MultiplyWithoutOverflow` would return a negative result. In the majority of TensorFlow codebase this then results in a `CHECK`-failure. Newer constructs exist which return a `Status` instead of crashing the binary. This is similar to CVE-2021-29584. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range. |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|
| Application |
Google |
Tensorflow |
All |
All |
All |
All |
References
| Reference | Source | Link | Tags |
|---|
| tf.pad crashes with large paddings · Issue #51908 · tensorflow/tensorflow · GitHub |
MISC |
github.com |
|
| Merge pull request #51717 from yongtang:46890-tf.image.pad_to_boundin… · tensorflow/tensorflow@d81b135 · GitHub |
MISC |
github.com |
|
| PR #51732: Fix crash of tf.image.crop_and_resize when input is large … · tensorflow/tensorflow@7c1692b · GitHub |
MISC |
github.com |
|
| tf.image.resize/resize_with_crop_or_pad/pad_to_bounding_box/extract_glimpse crash(abort) · Issue #46890 · tensorflow/tensorflow · GitHub |
MISC |
github.com |
|
| Merge pull request #51658 from yongtang:51618-tf.image.extract_glimpse · tensorflow/tensorflow@a871989 · GitHub |
MISC |
github.com |
|
| Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes · Advisory · tensorflow/tensorflow · GitHub |
CONFIRM |
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
- 980163 Python (pip) Security Update for tensorflow-gpu (GHSA-prcg-wp5q-rv7p)