Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-f54p-f6jp-4rhr

Опубликовано: 10 нояб. 2021
Источник: github
Github: Прошло ревью
CVSS4: 6.9
CVSS3: 7.1

Описание

Heap OOB in FusedBatchNorm kernels

Impact

The implementation of FusedBatchNorm kernels is vulnerable to a heap OOB:

import tensorflow as tf tf.raw_ops.FusedBatchNormGrad( y_backprop=tf.constant([i for i in range(9)],shape=(1,1,3,3),dtype=tf.float32) x=tf.constant([i for i in range(2)],shape=(1,1,1,2),dtype=tf.float32) scale=[1,1], reserve_space_1=[1,1], reserve_space_2=[1,1,1], epsilon=1.0, data_format='NCHW', is_training=True)

Patches

We have patched the issue in GitHub commit aab9998916c2ffbd8f0592059fad352622f89cda.

The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, 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.

Attribution

This vulnerability has been reported by members of the Aivul Team from Qihoo 360.

Пакеты

Наименование

tensorflow

pip
Затронутые версииВерсия исправления

>= 2.6.0, < 2.6.1

2.6.1

Наименование

tensorflow

pip
Затронутые версииВерсия исправления

>= 2.5.0, < 2.5.2

2.5.2

Наименование

tensorflow

pip
Затронутые версииВерсия исправления

< 2.4.4

2.4.4

Наименование

tensorflow-cpu

pip
Затронутые версииВерсия исправления

>= 2.6.0, < 2.6.1

2.6.1

Наименование

tensorflow-cpu

pip
Затронутые версииВерсия исправления

>= 2.5.0, < 2.5.2

2.5.2

Наименование

tensorflow-cpu

pip
Затронутые версииВерсия исправления

< 2.4.4

2.4.4

Наименование

tensorflow-gpu

pip
Затронутые версииВерсия исправления

>= 2.6.0, < 2.6.1

2.6.1

Наименование

tensorflow-gpu

pip
Затронутые версииВерсия исправления

>= 2.5.0, < 2.5.2

2.5.2

Наименование

tensorflow-gpu

pip
Затронутые версииВерсия исправления

< 2.4.4

2.4.4

EPSS

Процентиль: 4%
0.00019
Низкий

6.9 Medium

CVSS4

7.1 High

CVSS3

Дефекты

CWE-125

Связанные уязвимости

CVSS3: 7.1
nvd
больше 4 лет назад

TensorFlow is an open source platform for machine learning. In affected versions the implementation of `FusedBatchNorm` kernels is vulnerable to a heap OOB access. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

CVSS3: 7.1
debian
больше 4 лет назад

TensorFlow is an open source platform for machine learning. In affecte ...

EPSS

Процентиль: 4%
0.00019
Низкий

6.9 Medium

CVSS4

7.1 High

CVSS3

Дефекты

CWE-125