PT-2022-15072

CVE-2022-21732

·

Published

2022-02-03

·

Updated

2026-07-09

Description by

CVSS 4.0
5.3
Medium
MetricsAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.8.0 TensorFlow versions 2.7.1, 2.6.3, and 2.5.3 are also affected
Description The implementation of ThreadPoolHandle can be used to trigger a denial of service attack by allocating too much memory. This is because the num threads argument is only checked to not be negative, but there is no upper bound on its value.
Recommendations For versions prior to 2.8.0, update to TensorFlow 2.8.0 or later to resolve the issue. For version 2.7.1, update to a version that includes the cherrypicked commit. For version 2.6.3, update to a version that includes the cherrypicked commit. For version 2.5.3, update to a version that includes the cherrypicked commit. As a temporary workaround, consider restricting the value of the num threads argument to prevent excessive memory allocation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-C582-C96P-R5CQ
BIT-TENSORFLOW-2022-21732
OPENSUSE-SU-2024:12116-1
PYSEC-2022-111
PYSEC-2022-56
PYSEC-2026-3158
Found an issue in the description? Have something to add? Feel free to write us 👾