cbcvebase.
CVE-2021-41228
published 2021-11-05

CVE-2021-41228: TensorFlow is an open source platform for machine learning. In affected versions TensorFlow's `saved_model_cli` tool is vulnerable to a code injection as it…

high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
TensorFlow is an open source platform for machine learning. In affected versions 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 plaform where the CLI tool runs. However, given that the tool is always run manually, the impact of this is not severe. We have patched this by adding a `safe` flag which defaults to `True` and an explicit warning for users. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

Affected

16 ranges
VendorProductVersion rangeFixed in
debiantensorflow
googletensorflow
googletensorflow>= 2.4.0 < 2.4.42.4.4
googletensorflow>= 2.5.0 < 2.5.22.5.2
googletensorflow>= 2.6.0 < 2.6.12.6.1
inteloptimization_for_tensorflow>= 0 < 8b202f08d52e8206af2bdb2112a62fafbc546ec78b202f08d52e8206af2bdb2112a62fafbc546ec7
inteloptimization_for_tensorflow>= 0 < 2.4.42.4.4
inteloptimization_for_tensorflow>= 0 < 2.6.42.6.4
inteloptimization_for_tensorflow>= 2.5.0 < 2.5.22.5.2
inteloptimization_for_tensorflow>= 2.6.0 < 2.6.12.6.1
inteloptimization_for_tensorflow>= 2.7.0 < 2.7.22.7.2
inteloptimization_for_tensorflow>= 2.7.0rc0 < 2.7.02.7.0
inteloptimization_for_tensorflow>= 2.8.0 < 2.8.12.8.1
tensorflowtensorflow< 2.4.42.4.4
tensorflowtensorflow
tensorflowtensorflow

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ghsa7.8HIGH
osv7.8HIGH