Lucene search

K
githubGitHub Advisory DatabaseGHSA-FQ86-3F29-PX2C
HistoryFeb 07, 2022 - 10:01 p.m.

`CHECK`-failures during Grappler's `IsSimplifiableReshape` in Tensorflow

2022-02-0722:01:14
CWE-617
GitHub Advisory Database
github.com
12
denial of service
grappler optimizer
tensorflow
savedmodel
security patch
github commits
tensorflow 2.8.0
cherrypick
security guide

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS

0.002

Percentile

65.0%

Impact

The Grappler optimizer in TensorFlow can be used to cause a denial of service by altering a SavedModel such that IsSimplifiableReshape would trigger CHECK failures.

Patches

We have patched the issue in GitHub commits ebc1a2ffe5a7573d905e99bd0ee3568ee07c12c1, 1fb27733f943295d874417630edd3b38b34ce082, and 240655511cd3e701155f944a972db71b6c0b1bb6.

The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

For more information

Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.

Affected configurations

Vulners
Node
tensorflowgpuMatch2.7.0
OR
tensorflowcpuMatch2.7.0
OR
tensorflowtensorflowMatch2.7.0
OR
tensorflowgpuRange<2.6.3
OR
tensorflowgpuRange<2.5.3
OR
tensorflowcpuRange<2.6.3
OR
tensorflowcpuRange<2.5.3
OR
tensorflowtensorflowRange<2.6.3
OR
tensorflowtensorflowRange<2.5.3
VendorProductVersionCPE
tensorflowgpu2.7.0cpe:2.3:a:tensorflow:gpu:2.7.0:*:*:*:*:*:*:*
tensorflowcpu2.7.0cpe:2.3:a:tensorflow:cpu:2.7.0:*:*:*:*:*:*:*
tensorflowtensorflow2.7.0cpe:2.3:a:tensorflow:tensorflow:2.7.0:*:*:*:*:*:*:*
tensorflowgpu*cpe:2.3:a:tensorflow:gpu:*:*:*:*:*:*:*:*
tensorflowcpu*cpe:2.3:a:tensorflow:cpu:*:*:*:*:*:*:*:*
tensorflowtensorflow*cpe:2.3:a:tensorflow:tensorflow:*:*:*:*:*:*:*:*

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS

0.002

Percentile

65.0%

Related for GHSA-FQ86-3F29-PX2C