Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-41884— Seg fault in `ndarray_tensor_bridge` due to zero and large inputs in Tensorflow

CVSS 4.8 · Medium EPSS 0.13% · P31
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-41884

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Seg fault in `ndarray_tensor_bridge` due to zero and large inputs in Tensorflow
Source: NVD (National Vulnerability Database)
Vulnerability Description
TensorFlow is an open source platform for machine learning. If a numpy array is created with a shape such that one element is zero and the others sum to a large number, an error will be raised. We have patched the issue in GitHub commit 2b56169c16e375c521a3bc8ea658811cc0793784. 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
控制流实现总是不正确
Source: NVD (National Vulnerability Database)
Vulnerability Title
Google TensorFlow 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Google TensorFlow 2.11 版本,2.10.1 版本之前的 2.10.x 版本,2.9.3 版本之前的 2.9.x 版本,2.8.4 版本之前的 2.8.x 版本存在安全漏洞,该漏洞源于如果创建的 numpy 数组的形状为一个元素为零而其他元素之和为一个大数,则会引发错误。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
tensorflowtensorflow >= 2.10.0, < 2.10.1 -

II. Public POCs for CVE-2022-41884

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-41884

登录查看更多情报信息。

Same Patch Batch · tensorflow · 2022-11-18 · 23 CVEs total

CVE-2022-419007.1 HIGHFractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow
CVE-2022-418947.1 HIGHBuffer overflow in `CONV_3D_TRANSPOSE` on TFLite
CVE-2022-418836.8 MEDIUMOut of bounds segmentation fault due to unequal op inputs in Tensorflow
CVE-2022-418806.8 MEDIUMThreadUnsafeUnigramCandidateSampler Heap out of bounds in Tensorflow
CVE-2022-418895.5 MEDIUMSegfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow
CVE-2022-419114.8 MEDIUMInvalid char to bool conversion when printing a tensor in Tensorflow
CVE-2022-419094.8 MEDIUMSegfault in `CompositeTensorVariantToComponents` in Tensorflow
CVE-2022-419084.8 MEDIUM`CHECK` fail via inputs in `PyFunc` in Tensorflow
CVE-2022-419074.8 MEDIUMOverflow in `ResizeNearestNeighborGrad` in Tensorflow
CVE-2022-419014.8 MEDIUM`CHECK_EQ` fail via input in `SparseMatrixNNZ` in Tensorflow
CVE-2022-418994.8 MEDIUM`CHECK` fail via inputs in `SdcaOptimizer` in Tensorflow
CVE-2022-418984.8 MEDIUM`CHECK` fail via inputs in `SparseFillEmptyRowsGrad` in Tensorflow
CVE-2022-418974.8 MEDIUM`FractionalMaxPoolGrad` Heap out of bounds read in Tensorflow
CVE-2022-418964.8 MEDIUM`tf.raw_ops.Mfcc` crashes in Tensorflow
CVE-2022-418954.8 MEDIUM`MirrorPadGrad` heap out of bounds read in Tensorflow
CVE-2022-418934.8 MEDIUM`CHECK_EQ` fail in `tf.raw_ops.TensorListResize` in Tensorflow
CVE-2022-418914.8 MEDIUMSegfault in `tf.raw_ops.TensorListConcat` in Tensorflow
CVE-2022-418904.8 MEDIUM`CHECK` fail in `BCast` overflow in Tensorflow
CVE-2022-418884.8 MEDIUMUnckecked rank size in `tf.image.generate_bounding_box_proposals` in Tensorflow
CVE-2022-418874.8 MEDIUMOverflow in `tf.keras.losses.poisson` in Tensorflow

Showing top 20 of 23 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-41884

No comments yet


Leave a comment