Vulnerability Description
Tensorflow is an Open Source Machine Learning Framework. The implementation of `AddManySparseToTensorsMap` is vulnerable to an integer overflow which results in a `CHECK`-fail when building new `TensorShape` objects (so, an assert failure based denial of service). We are missing some validation on the shapes of the input tensors as well as directly constructing a large `TensorShape` with user-provided dimensions. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tensorflow | <= 2.5.2 |
Related Weaknesses (CWE)
References
- https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ExploitThird Party Advisory
- https://github.com/tensorflow/tensorflow/commit/a68f68061e263a88321c104a6c911fe5PatchThird Party Advisory
- https://github.com/tensorflow/tensorflow/commit/b51b82fe65ebace4475e3c54eb089c18PatchThird Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-6445-fm66-fvq2PatchThird Party Advisory
- https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ExploitThird Party Advisory
- https://github.com/tensorflow/tensorflow/commit/a68f68061e263a88321c104a6c911fe5PatchThird Party Advisory
- https://github.com/tensorflow/tensorflow/commit/b51b82fe65ebace4475e3c54eb089c18PatchThird Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-6445-fm66-fvq2PatchThird Party Advisory
FAQ
What is CVE-2022-23568?
CVE-2022-23568 is a vulnerability with a CVSS score of 6.5 (MEDIUM). Tensorflow is an Open Source Machine Learning Framework. The implementation of `AddManySparseToTensorsMap` is vulnerable to an integer overflow which results in a `CHECK`-fail when building new `Tenso...
How severe is CVE-2022-23568?
CVE-2022-23568 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-23568?
Check the references section above for vendor advisories and patch information. Affected products include: Google Tensorflow.