PT-2022-19463
CVE-2022-29210
·
Published
2022-05-20
·
Updated
2026-07-09
Description by
CVSS 3.1
5.5
MediumMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
TensorFlow version 2.8.0
Description
The issue arises from the
TensorKey hash function using total estimated AllocatedBytes(), which is an estimate per tensor and a poor hash function for constants, such as int32 t. It also attempts to access individual tensor bytes through tensor.data() of size AllocatedBytes(), leading to ASAN failures because AllocatedBytes() is an estimate of total bytes allocated by a tensor, including pointed-to constructs like strings, and does not refer to contiguous bytes in the .data() buffer. The discoverers could not use this byte vector anyway because types like tstring include pointers, whereas they needed to hash the string values themselves.Recommendations
For version 2.8.0, update to version 2.8.1 or 2.9.0 to resolve the issue.
For versions prior to 2.8.1 and 2.9.0, update to version 2.8.1 or 2.9.0 to resolve the issue.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾