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

exploitDog

github логотип

GHSA-xxcj-rhqg-m46g

Опубликовано: 21 нояб. 2022
Источник: github
Github: Прошло ревью
CVSS3: 5.5

Описание

Segfault via invalid attributes in pywrap_tfe_src.cc

Impact

If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a nullptr, which is not caught. An example can be seen in tf.compat.v1.extract_volume_patches by passing in quantized tensors as input ksizes.

import numpy as np import tensorflow as tf a_input = np.array([1, -1], dtype= np.int32) a_ksizes = a_strides = tf.constant(dtype=tf.dtypes.qint16, value=[[1, 4], [5, 2]]) tf.compat.v1.extract_volume_patches(input=a_input,ksizes=a_ksizes,strides=a_strides,padding='VALID')

Patches

We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce.

The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.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 Pattarakrit Rattankul.

Пакеты

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

tensorflow

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

< 2.8.4

2.8.4

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

tensorflow

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

>= 2.9.0, < 2.9.3

2.9.3

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

tensorflow

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

>= 2.10.0, < 2.10.1

2.10.1

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

tensorflow-cpu

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

< 2.8.4

2.8.4

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

tensorflow-gpu

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

< 2.8.4

2.8.4

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

tensorflow-cpu

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

>= 2.9.0, < 2.9.3

2.9.3

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

tensorflow-gpu

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

>= 2.9.0, < 2.9.3

2.9.3

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

tensorflow-cpu

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

>= 2.10.0, < 2.10.1

2.10.1

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

tensorflow-gpu

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

>= 2.10.0, < 2.10.1

2.10.1

EPSS

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

5.5 Medium

CVSS3

Дефекты

CWE-476

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

CVSS3: 5.5
nvd
больше 2 лет назад

TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a `nullptr`, which is not caught. An example can be seen in `tf.compat.v1.extract_volume_patches` by passing in quantized tensors as input `ksizes`. We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.

CVSS3: 7.5
msrc
больше 2 лет назад

Описание отсутствует

CVSS3: 5.5
debian
больше 2 лет назад

TensorFlow is an open source platform for machine learning. If a list ...

EPSS

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

5.5 Medium

CVSS3

Дефекты

CWE-476