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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-41894— Buffer overflow in `CONV_3D_TRANSPOSE` on TFLite

Quick assessment

Affected
tensorflow tensorflow
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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 版本存在安全漏洞,该漏洞源于 TensorFlow Lite 运算符的参考内核在向结果添加偏差时错误地增加了 data_ptr。

CVSS 7.1 · High EPSS 0.56% · P45

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-41894

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
Buffer overflow in `CONV_3D_TRANSPOSE` on TFLite
Source: CVE Program / CVE List V5
Vulnerability Description
TensorFlow is an open source platform for machine learning. The reference kernel of the `CONV_3D_TRANSPOSE` TensorFlow Lite operator wrongly increments the data_ptr when adding the bias to the result. Instead of `data_ptr += num_channels;` it should be `data_ptr += output_num_channels;` as if the number of input channels is different than the number of output channels, the wrong result will be returned and a buffer overflow will occur if num_channels > output_num_channels. An attacker can craft a model with a specific number of input channels. It is then possible to write specific values through the bias of the layer outside the bounds of the buffer. This attack only works if the reference kernel resolver is used in the interpreter. We have patched the issue in GitHub commit 72c0bdcb25305b0b36842d746cc61d72658d2941. 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未进行输入大小检查的缓冲区拷贝(传统缓冲区溢出)
Source: CVE Program / CVE List V5
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 版本存在安全漏洞,该漏洞源于`CONV_3D_TRANSPOSE` TensorFlow Lite 运算符的参考内核在向结果添加偏差时错误地增加了 data_ptr。
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

Vendor Product Affected Versions CPE Subscribe
tensorflow tensorflow >= 2.10.0, < 2.10.1 -

II. Public POCs for CVE-2022-41894

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-41894

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-41894 (1)

Vendor Advisories for CVE-2022-41894 (1)

Other References for CVE-2022-41894 (1)

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

CVE-2022-41900 7.1 HIGH FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow
CVE-2022-41883 6.8 MEDIUM Out of bounds segmentation fault due to unequal op inputs in Tensorflow
CVE-2022-41880 6.8 MEDIUM ThreadUnsafeUnigramCandidateSampler Heap out of bounds in Tensorflow
CVE-2022-41889 5.5 MEDIUM Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow
CVE-2022-41911 4.8 MEDIUM Invalid char to bool conversion when printing a tensor in Tensorflow
CVE-2022-41909 4.8 MEDIUM Segfault in `CompositeTensorVariantToComponents` in Tensorflow
CVE-2022-41908 4.8 MEDIUM `CHECK` fail via inputs in `PyFunc` in Tensorflow
CVE-2022-41907 4.8 MEDIUM Overflow in `ResizeNearestNeighborGrad` in Tensorflow
CVE-2022-41901 4.8 MEDIUM `CHECK_EQ` fail via input in `SparseMatrixNNZ` in Tensorflow
CVE-2022-41899 4.8 MEDIUM `CHECK` fail via inputs in `SdcaOptimizer` in Tensorflow
CVE-2022-41898 4.8 MEDIUM `CHECK` fail via inputs in `SparseFillEmptyRowsGrad` in Tensorflow
CVE-2022-41897 4.8 MEDIUM `FractionalMaxPoolGrad` Heap out of bounds read in Tensorflow
CVE-2022-41896 4.8 MEDIUM `tf.raw_ops.Mfcc` crashes in Tensorflow
CVE-2022-41895 4.8 MEDIUM `MirrorPadGrad` heap out of bounds read in Tensorflow
CVE-2022-41893 4.8 MEDIUM `CHECK_EQ` fail in `tf.raw_ops.TensorListResize` in Tensorflow
CVE-2022-41891 4.8 MEDIUM Segfault in `tf.raw_ops.TensorListConcat` in Tensorflow
CVE-2022-41890 4.8 MEDIUM `CHECK` fail in `BCast` overflow in Tensorflow
CVE-2022-41888 4.8 MEDIUM Unckecked rank size in `tf.image.generate_bounding_box_proposals` in Tensorflow
CVE-2022-41887 4.8 MEDIUM Overflow in `tf.keras.losses.poisson` in Tensorflow
CVE-2022-41886 4.8 MEDIUM Overflow in `ImageProjectiveTransformV2` in Tensorflow

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-41894

No comments yet


Leave a comment