PT-2021-23201

CVE-2021-41228

·

Published

2021-11-05

·

Updated

2024-03-06

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.7.0 TensorFlow versions 2.6.1 and earlier TensorFlow versions 2.5.2 and earlier TensorFlow versions 2.4.4 and earlier
Description TensorFlow's saved model cli tool is vulnerable to a code injection as it calls eval on user supplied strings. This can be used by attackers to run arbitrary code on the platform where the CLI tool runs. However, given that the tool is always run manually, the impact of this is not severe.
Recommendations For versions prior to 2.7.0, update to TensorFlow 2.7.0 or later. For versions 2.6.1 and earlier, update to TensorFlow 2.6.1 or later. For versions 2.5.2 and earlier, update to TensorFlow 2.5.2 or later. For versions 2.4.4 and earlier, update to TensorFlow 2.4.4 or later. As a temporary workaround, consider adding the safe flag with True value when using the saved model cli tool until a patch is available.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-3RCW-9P9X-582V
BIT-TENSORFLOW-2021-41228
OPENSUSE-SU-2024:12116-1
PYSEC-2021-420
PYSEC-2021-637
PYSEC-2021-835
Found an issue in the description? Have something to add? Feel free to write us 👾