Tensorflow is an Open Source Machine Learning Framework. The implementation of `StringNGrams` can be used to trigger a denial of service attack by causing an out of memory condition after an integer overflow. We are missing a validation on `pad_witdh` and that result in computing a negative value for `ngram_width` which is later used to allocate parts of the output. 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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-02-03T11:28:10

Updated: 2024-08-03T02:53:35.773Z

Reserved: 2021-11-16T00:00:00

Link: CVE-2022-21733

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-03T12:15:07.993

Modified: 2024-11-21T06:45:19.917

Link: CVE-2022-21733

cve-icon Redhat

No data.