You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, TensorFlow's `saved_model_cli` tool is vulnerable to a code injection. This 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`. The patch is available in versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4.
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, TensorFlow's `saved_model_cli` tool is vulnerable to a code injection. This 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`. The patch is available in versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4.
NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.
Note: The NVD and the CNA have provided the same score. When this occurs only the CNA information is displayed, but the Acceptance Level icon for the CNA is given a checkmark to signify NVD concurrence.
NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.
Note: NVD Analysts have published a CVSS score for this CVE based on publicly available information at the time of analysis. The CNA has not provided a score within the CVE List.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
OR
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions up to (excluding) 2.6.4
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.7.0 up to (excluding) 2.7.2
*cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*
*cpe:2.3:a:google:tensorf
Added
CVSS V2
NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P)
Added
CVSS V3.1
NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Changed
Reference Type
https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/python/tools/saved_model_cli.py#L566-L574 No Types Assigned
https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/python/tools/saved_model_cli.py#L566-L574 Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/commit/8b202f08d52e8206af2bdb2112a62fafbc546ec7 No Types Assigned
https://github.com/tensorflow/tensorflow/commit/8b202f08d52e8206af2bdb2112a62fafbc546ec7 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/commit/c5da7af048611aa29e9382371f0aed5018516cac No Types Assigned
https://github.com/tensorflow/tensorflow/commit/c5da7af048611aa29e9382371f0aed5018516cac Patch, Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4 No Types Assigned
https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4 Release Notes, Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2 No Types Assigned
https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2 Release Notes, Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1 No Types Assigned
https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1 Release Notes, Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0 No Types Assigned
https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0 Release Notes, Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-75c9-jrh4-79mc No Types Assigned
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-75c9-jrh4-79mc Exploit, Patch, Third Party Advisory
Quick Info
CVE Dictionary Entry: CVE-2022-29216 NVD
Published Date: 05/20/2022 NVD
Last Modified: 06/02/2022
Source: GitHub, Inc.