CVE-2021-41206
Last modified
CVE-2021-41206 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. TensorFlow is an open source platform for machine learning. In affected versions several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
TensorFlow is an open source platform for machine learning. In affected versions several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. Depending on the API, this can result in undefined behavior and segfault or `CHECK`-fail related crashes but in some scenarios writes and reads from heap populated arrays are also possible. We have discovered these issues internally via tooling while working on improving/testing GPU op determinism. As such, we don't have reproducers and there will be multiple fixes for these issues. These fixes will be included in TensorFlow 2.7.0. We will also cherrypick these commits 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:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Tensorflow | >= 2.4.0, < 2.4.4 | — | |
| Tensorflow | >= 2.5.0, < 2.5.2 | — | |
| Tensorflow | >= 2.6.0, < 2.6.1 | — | |
| Tensorflow | 2.7.0 | Rc0 |
References
- https://github.com/tensorflow/tensorflow/commit/4d74d8a00b07441cba090a02e0dd9ed385145bf4Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/4dddb2fd0b01cdd196101afbba6518658a2c9e07Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/579261dcd446385831fe4f7457d802a59685121dPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/68422b215e618df5ad375bcdc6d2052e9fd3080aPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/da4aad5946be30e5f049920fa076e1f7ef021261Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/e7f497570abb6b4ae5af4970620cd880e4c0c904Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-pgcq-h79j-2f69Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/4d74d8a00b07441cba090a02e0dd9ed385145bf4Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/4dddb2fd0b01cdd196101afbba6518658a2c9e07Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/579261dcd446385831fe4f7457d802a59685121dPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/68422b215e618df5ad375bcdc6d2052e9fd3080aPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/da4aad5946be30e5f049920fa076e1f7ef021261Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/e7f497570abb6b4ae5af4970620cd880e4c0c904Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-pgcq-h79j-2f69Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41206?
How severe is CVE-2021-41206?
How do I fix CVE-2021-41206?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41200TensorFlow is an open source platform for machine learning. …5.5
- CVE-2021-41201TensorFlow is an open source platform for machine learning. …7.8
- CVE-2021-41202TensorFlow is an open source platform for machine learning. …5.5
- CVE-2021-41203TensorFlow is an open source platform for machine learning. …7.8
- CVE-2021-41204TensorFlow is an open source platform for machine learning. …5.5
- CVE-2021-41205TensorFlow is an open source platform for machine learning. …7.1
- CVE-2021-41207TensorFlow is an open source platform for machine learning. …5.5
- CVE-2021-41208TensorFlow is an open source platform for machine learning. …7.8
- CVE-2021-41209TensorFlow is an open source platform for machine learning. …5.5
- CVE-2021-4121yetiforcecrm is vulnerable to Improper Neutralization of Inp…6.1
- CVE-2021-41210TensorFlow is an open source platform for machine learning. …7.1
- CVE-2021-41211TensorFlow is an open source platform for machine learning. …7.1
Are you affected by CVE-2021-41206?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
