Out-of-bounds write in TensorFlow - CVE-2021-41208

 

Out-of-bounds write in TensorFlow - CVE-2021-41208

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


Vulnerability identifier: #VU129170
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/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-41208
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: TensorFlow
Affected software:
TensorFlow

Detailed vulnerability description

The vulnerability allows a local user to read and write outside the bounds of heap-allocated data and cause a denial of service.

The vulnerability exists due to out-of-bounds read and out-of-bounds write in boosted trees code in tensorflow/core/kernels/boosted_trees/stats_ops.cc when processing crafted input to boosted trees APIs. A local user can supply crafted input to trigger out-of-bounds memory access and denial of service.

The denial of service can occur through null pointer dereferences or CHECK failures.


How to mitigate CVE-2021-41208

Install security update from vendor's website.

Sources