CVE-2021-37690

CVSS V2 Medium 4.6 CVSS V3 Medium 6.6
Description
TensorFlow is an end-to-end open source platform for machine learning. In affected versions when running shape functions, some functions (such as `MutableHashTableShape`) produce extra output information in the form of a `ShapeAndType` struct. The shapes embedded in this struct are owned by an inference context that is cleaned up almost immediately; if the upstream code attempts to access this shape information, it can trigger a segfault. `ShapeRefiner` is mitigating this for normal output shapes by cloning them (and thus putting the newly created shape under ownership of an inference context that will not die), but we were not doing the same for shapes and types. This commit fixes that by doing similar logic on output shapes and types. We have patched the issue in GitHub commit ee119d4a498979525046fba1c3dd3f13a039fbb1. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.
Overview
  • CVE ID
  • CVE-2021-37690
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-08-13T00:15:07
  • Last Modified Date
  • 2021-08-19T14:53:55
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* 1 OR 2.3.0 2.3.4
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* 1 OR 2.4.0 2.4.3
cpe:2.3:a:google:tensorflow:2.5.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:google:tensorflow:2.6.0:rc0:*:*:*:*:*:* 1 OR
cpe:2.3:a:google:tensorflow:2.6.0:rc1:*:*:*:*:*:* 1 OR
cpe:2.3:a:google:tensorflow:2.6.0:rc2:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:L/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • LOCAL
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 4.6
  • Severity
  • MEDIUM
  • Exploitability Score
  • 3.9
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
  • Attack Vector
  • LOCAL
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • HIGH
  • Base Score
  • 6.6
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 1.8
  • Impact Score
  • 4.7
History
Created Old Value New Value Data Type Notes
2022-05-10 06:56:40 Added to TrackCVE
2022-12-05 08:11:07 2021-08-13T00:15Z 2021-08-13T00:15:07 CVE Published Date updated
2022-12-05 08:11:07 2021-08-19T14:53:55 CVE Modified Date updated
2022-12-05 08:11:07 Analyzed Vulnerability Status updated