U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2020-26271 Detail

Description

In affected versions of TensorFlow under certain cases, loading a saved model can result in accessing uninitialized memory while building the computation graph. The MakeEdge function creates an edge between one output tensor of the src node (given by output_index) and the input slot of the dst node (given by input_index). This is only possible if the types of the tensors on both sides coincide, so the function begins by obtaining the corresponding DataType values and comparing these for equality. However, there is no check that the indices point to inside of the arrays they index into. Thus, this can result in accessing data out of bounds of the corresponding heap allocated arrays. In most scenarios, this can manifest as unitialized data access, but if the index points far away from the boundaries of the arrays this can be used to leak addresses from the library. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 3.x Severity and Vector Strings:

NIST CVSS score
NIST: NVD
Base Score:  3.3 LOW
Vector:  CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Nist CVSS score does not match with CNA score
CNA:  GitHub, Inc.
Base Score:  4.4 MEDIUM
Vector:  CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

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.

Hyperlink Resource
https://github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816b Patch  Third Party Advisory 
https://github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816b Patch  Third Party Advisory 
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q263-fvxm-m5mw Exploit  Patch  Third Party Advisory 
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q263-fvxm-m5mw Exploit  Patch  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-908 Use of Uninitialized Resource cwe source acceptance level NIST  
CWE-125 Out-of-bounds Read cwe source acceptance level NIST   GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
Up to (excluding)
1.15.5
 cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (including)
2.0.0
Up to (excluding)
2.0.4
 cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (including)
2.1.0
Up to (excluding)
2.1.3
 cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (including)
2.2.0
Up to (excluding)
2.2.2
 cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (including)
2.3.0
Up to (excluding)
2.3.2

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2020-26271
NVD Published Date:
12/10/2020
NVD Last Modified:
11/21/2024
Source:
GitHub, Inc.