PT-2021-21778 · Google · Tensorflow

Published

2021-08-12

·

Updated

2024-03-06

·

CVE-2021-37661

CVSS v4.0

6.8

Medium

VectorAV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.6.0 TensorFlow version 2.5.1 TensorFlow version 2.4.3 TensorFlow version 2.3.4
Description TensorFlow is an end-to-end open source platform for machine learning. In affected versions, an attacker can cause a denial of service in boosted trees create quantile stream resource by using negative arguments. The implementation does not validate that num streams only contains non-negative numbers, resulting in a crash from the standard library due to implicit conversion from a negative value to a large positive unsigned.
Recommendations Update to TensorFlow 2.6.0 or later to resolve the issue. For TensorFlow 2.5.1, update to a newer version that includes the fix. For TensorFlow 2.4.3, update to a newer version that includes the fix. For TensorFlow 2.3.4, update to a newer version that includes the fix. As a temporary workaround, consider validating the num streams argument to ensure it only contains non-negative numbers before calling boosted trees create quantile stream resource.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2021-37661
CVE-2021-37661
GHSA-GF88-J2MG-CC82
OPENSUSE-SU-2022:10014-1
OPENSUSE-SU-2024:12116-1
PYSEC-2021-283
PYSEC-2021-574
PYSEC-2021-772

Affected Products

Tensorflow