Wind River Support Network

Meet the Support Network

Home CVE Database CVE-2021-37681

CVE-2021-37681

Description

TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation of SVDF in TFLite is [vulnerable to a null pointer error](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/lite/kernels/svdf.cc#L300-L313). The [`GetVariableInput` function](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/lite/kernels/kernel_util.cc#L115-L119) can return a null pointer but `GetTensorData` assumes that the argument is always a valid tensor. Furthermore, because `GetVariableInput` calls [`GetMutableInput`](https://github.com/tensorflow/tensorflow/blob/460e000de3a83278fb00b61a16d161b1964f15f4/tensorflow/lite/kernels/kernel_util.cc#L82-L90) which might return `nullptr`, the `tensor->is_variable` expression can also trigger a null pointer exception. We have patched the issue in GitHub commit 5b048e87e4e55990dae6b547add4dae59f4e1c76. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.

Priority: MEDIUM
CVSS v3: 7.8
Component: tensorflow
Publish Date: Aug 12, 2021
Related ID: --
CVSS v2: HIGH
Modified Date: Aug 12, 2021

Find out more about CVE-2021-37681 from the MITRE-CVE dictionary and NIST NVD


Products Affected

Login may be required to access defects or downloads.

Product Name Status Defect Fixed Downloads
Linux
Wind River Linux LTS 17 Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Wind River Linux 8 Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Wind River Linux 9 Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Wind River Linux 7 Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Wind River Linux LTS 21 Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Wind River Linux LTS 22 Not Vulnerable -- -- --
Wind River Linux LTS 18 Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Wind River Linux LTS 19 Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Wind River Linux CD release Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Wind River Linux 6 Not Vulnerable -- -- --
Wind River Linux LTS 23 Not Vulnerable -- -- --
VxWorks
VxWorks 7 Fixed -- 21.11 Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
VxWorks 6.9 Not Vulnerable -- -- Wind River VxWorks 20211027 Security Alert for TensorFlow Lite
Helix Virtualization Platform Cert Edition
Helix Virtualization Platform Cert Edition Not Vulnerable -- -- --

Related Products

Product Name Status Defect Fixed Downloads

Notes
Requires LTSS - customers must have active LTSS (Long Term Security Shield) Support to receive up-to-date information about vulnerabilities that may affect legacy software. Please contact your Wind River account team or see https://docs.windriver.com/bundle/Support_and_Maintenance_Supplemental_Terms_and_Conditions and https://support2.windriver.com/index.php?page=plc for more information.
Live chat
Online