CVE-2022-29208
Summary
| CVE | CVE-2022-29208 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-05-20 23:15:00 UTC |
| Updated | 2022-06-03 02:02:00 UTC |
| Description | TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.EditDistance` has incomplete validation. Users can pass negative values to cause a segmentation fault based denial of service. In multiple places throughout the code, one may compute an index for a write operation. However, the existing validation only checks against the upper bound of the array. Hence, it is possible to write before the array by massaging the input to generate negative values for `loc`. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue. |
Risk And Classification
Problem Types: CWE-787
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Tensorflow | All | All | All | All | |
| Application | Tensorflow | 2.7.0 | rc0 | All | All | |
| Application | Tensorflow | 2.7.0 | rc1 | All | All | |
| Application | Tensorflow | 2.8.0 | - | All | All | |
| Application | Tensorflow | 2.8.0 | rc0 | All | All | |
| Application | Tensorflow | 2.8.0 | rc1 | All | All | |
| Application | Tensorflow | 2.9.0 | rc0 | All | All | |
| Application | Tensorflow | 2.9.0 | rc1 | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release TensorFlow 2.8.1 · tensorflow/tensorflow · GitHub | MISC | github.com | |
| Release TensorFlow 2.9.0 · tensorflow/tensorflow · GitHub | MISC | github.com | |
| Release TensorFlow 2.7.2 · tensorflow/tensorflow · GitHub | MISC | github.com | |
| Release TensorFlow 2.6.4 · tensorflow/tensorflow · GitHub | MISC | github.com | |
| Fix tf.raw_ops.EditDistance vulnerability with negative indices. · tensorflow/tensorflow@30721cf · GitHub | MISC | github.com | |
| Segfault and OOB write due to incomplete validation in `EditDistance` · 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.
There are currently no legacy QID mappings associated with this CVE.