Input validation error in TensorFlow - CVE-2021-41206

 

Input validation error in TensorFlow - CVE-2021-41206

Published: February 2, 2022 / Updated: May 3, 2026


Vulnerability identifier: #VU129158
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-41206
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: TensorFlow
Affected software:
TensorFlow

Detailed vulnerability description

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to improper input validation in tf.sparse.split when processing a non-scalar axis argument. A remote user can supply a tuple or list for the axis parameter to cause a denial of service.

The crash may manifest as a segfault or a heap out-of-bounds read.


How to mitigate CVE-2021-41206

Install security update from vendor's website.

Sources