Improper Input Validation
CVE-2022-29207
Summary
TensorFlow is an open source platform for machine learning. Versions prior to 2.6.4, 2.7.x prior to 2.7.2, 2.8.x prior to 2.8.1, and 2.9.x prior to 2.9.0rc2, multiple TensorFlow operations misbehave in eager mode when the resource handle provided to them is invalid. In graph mode, it would have been impossible to perform these API calls, but migration to TF 2.x eager mode opened up this vulnerability. If the resource handle is empty, then a reference is bound to a null pointer inside TensorFlow codebase (various codepaths). This is undefined behavior. Versions 2.9.0rc2, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
- LOW
- LOCAL
- NONE
- UNCHANGED
- NONE
- LOW
- NONE
- HIGH
CWE-20 - Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
References
Advisory Timeline
- Published