Vulnerability Name:

CVE-2022-35984 (CCN-236475)

Assigned:2022-09-15
Published:2022-09-15
Updated:2022-09-20
Summary:TensorFlow is an open source platform for machine learning. `ParameterizedTruncatedNormal` assumes `shape` is of type `int32`. A valid `shape` of type `int64` results in a mismatched type `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 72180be03447a10810edca700cbc9af690dfeb51. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:5.4 Medium (CCN CVSS v2 Vector: AV:N/AC:H/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-617
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2022-35984

Source: XF
Type: UNKNOWN
tensorflow-cve202235984-dos(236475)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/tensorflow/tensorflow/commit/72180be03447a10810edca700cbc9af690dfeb51

Source: CCN
Type: TensorFlow GIT Repository
CHECK fail in ParameterizedTruncatedNormal

Source: CONFIRM
Type: Third Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-p2xf-8hgm-hpw5

Source: CCN
Type: IBM Security Bulletin 6840935 (Watson Discovery)
IBM Watson Discovery for IBM Cloud Pak for Data affected by vulnerability in TensorFlow

Source: CCN
Type: Mend Vulnerability Database
CVE-2022-35984

Vulnerable Configuration:Configuration 1:
  • cpe:/a:google:tensorflow:*:*:*:*:*:*:*:* (Version >= 2.8.0 and < 2.8.1)
  • OR cpe:/a:google:tensorflow:2.10:rc1:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:2.10:rc2:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:2.10:rc3:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:2.10:rc0:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:*:*:*:*:*:*:*:* (Version >= 2.9.0 and < 2.9.1)
  • OR cpe:/a:google:tensorflow:*:*:*:*:*:*:*:* (Version < 2.7.2)

  • Configuration CCN 1:
  • cpe:/a:google:tensorflow:2.9.0:-:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:2.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:2.7.2:*:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:2.7.1:*:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:2.8.0:-:*:*:*:*:*:*
  • OR cpe:/a:google:tensorflow:2.9.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    google tensorflow *
    google tensorflow 2.10 rc1
    google tensorflow 2.10 rc2
    google tensorflow 2.10 rc3
    google tensorflow 2.10 rc0
    google tensorflow *
    google tensorflow *
    google tensorflow 2.9.0 -
    google tensorflow 2.8.1
    google tensorflow 2.7.2
    google tensorflow 2.7.1
    google tensorflow 2.8.0 -
    google tensorflow 2.9.1