CVE-2021-41199
Last modified
CVE-2021-41199 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. TensorFlow is an open source platform for machine learning. In affected versions if `tf.image.resize` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
TensorFlow is an open source platform for machine learning. In affected versions if `tf.image.resize` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow. The number of elements in the output tensor is too much for the `int64_t` type and the overflow is detected via a `CHECK` statement. This aborts the process. 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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tensorflow | < 2.4.4 | |
| Tensorflow | >= 2.5.0, < 2.5.2 | |
| Tensorflow | 2.6.0 |
References
- https://github.com/tensorflow/tensorflow/commit/e5272d4204ff5b46136a1ef1204fc00597e21837Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/issues/46914Exploit, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-5hx2-qx8j-qjqmExploit, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/e5272d4204ff5b46136a1ef1204fc00597e21837Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/issues/46914Exploit, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-5hx2-qx8j-qjqmExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41199?
How severe is CVE-2021-41199?
How do I fix CVE-2021-41199?
Are you affected by CVE-2021-41199?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
