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.
NIST has updated the
NVD program announcement page with additional information regarding
recent concerns and the temporary delays in enrichment efforts.
CVE-2021-37692
Detail
Description
TensorFlow is an end-to-end open source platform for machine learning. In affected versions under certain conditions, Go code can trigger a segfault in string deallocation. For string tensors, `C.TF_TString_Dealloc` is called during garbage collection within a finalizer function. However, tensor structure isn't checked until encoding to avoid a performance penalty. The current method for dealloc assumes that encoding succeeded, but segfaults when a string tensor is garbage collected whose encoding failed (e.g., due to mismatched dimensions). To fix this, the call to set the finalizer function is deferred until `NewTensor` returns and, if encoding failed for a string tensor, deallocs are determined based on bytes written. We have patched the issue in GitHub commit 8721ba96e5760c229217b594f6d2ba332beedf22. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, which is the other affected version.
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.5.1
OR
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.5.0 up to (excluding) 2.6.0
Reanalysis by NIST8/31/2021 11:00:07 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.3.0 up to (excluding) 2.3.4
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.4.0 up to (excluding) 2.4.3
*cpe:2.3:a:google:tensorflow:2.5.0:*:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.6.0:rc0:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.6.0:rc1:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.6.0:rc2:*:*:*:*:*:*
OR
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions up to (excluding) 2.5.1
Changed
Reference Type
https://github.com/tensorflow/tensorflow/pull/50508 Third Party Advisory
https://github.com/tensorflow/tensorflow/pull/50508 Patch, Third Party Advisory
Initial Analysis by NIST8/18/2021 5:56:12 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.3.0 up to (excluding) 2.3.4
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.4.0 up to (excluding) 2.4.3
*cpe:2.3:a:google:tensorflow:2.5.0:*:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.6.0:rc0:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.6.0:rc1:*:*:*:*:*:*
*cpe:2.3:a:google:tensorflow:2.6.0:rc2:*:*:*:*:*:*
Added
CVSS V2
NIST (AV:L/AC:L/Au:N/C:N/I:N/A:P)
Added
CVSS V3.1
NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Changed
Reference Type
https://github.com/tensorflow/tensorflow/commit/8721ba96e5760c229217b594f6d2ba332beedf22 No Types Assigned
https://github.com/tensorflow/tensorflow/commit/8721ba96e5760c229217b594f6d2ba332beedf22 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/pull/50508 No Types Assigned
https://github.com/tensorflow/tensorflow/pull/50508 Third Party Advisory
Changed
Reference Type
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-cmgw-8vpc-rc59 No Types Assigned
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-cmgw-8vpc-rc59 Third Party Advisory
CPE Deprecation Remap by NIST8/17/2021 9:23:17 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.5.0 from (including) 2.5.1
OR
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.5.0 from (including) 2.5.1
CPE Deprecation Remap by NIST8/17/2021 9:23:09 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.4.0 from (including) 2.4.3
OR
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.4.0 from (including) 2.4.3
CPE Deprecation Remap by NIST8/17/2021 9:22:56 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.3.0 from (including) 2.3.4
OR
*cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* versions from (including) 2.3.0 from (including) 2.3.4
CPE Deprecation Remap by NIST8/17/2021 9:21:35 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:tensorflow:tensorflow:2.6.0:rc0:*:*:*:*:*:*
OR
*cpe:2.3:a:google:tensorflow:2.6.0:rc0:*:*:*:*:*:*
CPE Deprecation Remap by NIST8/17/2021 9:21:23 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:tensorflow:tensorflow:2.6.0:rc1:*:*:*:*:*:*
OR
*cpe:2.3:a:google:tensorflow:2.6.0:rc1:*:*:*:*:*:*
CPE Deprecation Remap by NIST8/17/2021 9:21:15 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:tensorflow:tensorflow:2.6.0:rc2:*:*:*:*:*:*
OR
*cpe:2.3:a:google:tensorflow:2.6.0:rc2:*:*:*:*:*:*
TensorFlow is an end-to-end open source platform for machine learning. In affected versions under certain conditions, Go code can trigger a segfault in string deallocation. For string tensors, `C.TF_TString_Dealloc` is called during garbage collection within a finalizer function. However, tensor structure isn't checked until encoding to avoid a performance penalty. The current method for dealloc assumes that encoding succeeded, but segfaults when a string tensor is garbage collected whose enco
TensorFlow is an end-to-end open source platform for machine learning. In affected versions under certain conditions, Go code can trigger a segfault in string deallocation. For string tensors, `C.TF_TString_Dealloc` is called during garbage collection within a finalizer function. However, tensor structure isn't checked until encoding to avoid a performance penalty. The current method for dealloc assumes that encoding succeeded, but segfaults when a string tensor is garbage collected whose encodi
Quick Info
CVE Dictionary Entry: CVE-2021-37692 NVD
Published Date: 08/12/2021 NVD
Last Modified: 08/31/2021
Source: GitHub, Inc.