PT-2022-19469 · Google · Tensorflow

Andey Robins

·

Published

2022-05-20

·

Updated

2024-03-06

·

CVE-2022-29216

CVSS v3.1

7.8

High

VectorAV: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.9.0 TensorFlow versions prior to 2.8.1 TensorFlow versions prior to 2.7.2 TensorFlow versions prior to 2.6.4
Description TensorFlow is an open source platform for machine learning. The saved model cli tool is vulnerable to a code injection, which can be used to open a reverse shell. This code path was maintained for compatibility reasons as the maintainers had several test cases where numpy expressions were used as arguments. However, given that the tool is always run manually, the impact of this is still not severe. The maintainers have now removed the safe=False argument, so all parsing is done without calling eval.
Recommendations For versions prior to 2.9.0, update to version 2.9.0 or later. For versions prior to 2.8.1, update to version 2.8.1 or later. For versions prior to 2.7.2, update to version 2.7.2 or later. For versions prior to 2.6.4, update to version 2.6.4 or later.

Exploit

Fix

Code Injection

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2022-29216
CVE-2022-29216
GHSA-75C9-JRH4-79MC

Affected Products

Tensorflow