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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-21731— Type confusion leading to segfault in Tensorflow

CVSS 6.5 · Medium EPSS 0.30% · P54
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-21731

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
Type confusion leading to segfault in Tensorflow
Source: NVD (National Vulnerability Database)
Vulnerability Description
Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `ConcatV2` can be used to trigger a denial of service attack via a segfault caused by a type confusion. The `axis` argument is translated into `concat_dim` in the `ConcatShapeHelper` helper function. Then, a value for `min_rank` is computed based on `concat_dim`. This is then used to validate that the `values` tensor has at least the required rank. However, `WithRankAtLeast` receives the lower bound as a 64-bits value and then compares it against the maximum 32-bits integer value that could be represented. Due to the fact that `min_rank` is a 32-bits value and the value of `axis`, the `rank` argument is a negative value, so the error check is bypassed. 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Google TensorFlow 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Google TensorFlow是美国谷歌(Google)公司的一套用于机器学习的端到端开源平台。 Tensorflow 存在安全漏洞,该漏洞源于ConcatV2的形状推断实现可用于通过由类型混淆引起的段错误触发拒绝服务攻击。
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
-n/a n/a -

II. Public POCs for CVE-2022-21731

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-21731

登录查看更多情报信息。

Same Patch Batch · n/a · 2022-02-03 · 45 CVEs total

CVE-2022-217288.1 HIGHOut of bounds read in Tensorflow
CVE-2022-217268.1 HIGHOut of bounds read in Tensorflow
CVE-2022-217308.1 HIGHOut of bounds read in Tensorflow
CVE-2022-217407.6 HIGHHeap overflow in Tensorflow
CVE-2022-217277.6 HIGHInteger overflow in Tensorflow
CVE-2022-217367.6 HIGHUndefined behavior in Tensorflow
CVE-2022-217296.5 MEDIUMOverflow and uncaught divide by zero in Tensorflow
CVE-2022-217376.5 MEDIUMAssertion failure based denial of service in Tensorflow
CVE-2022-217416.5 MEDIUMDivision by zero in TFLite
CVE-2022-217386.5 MEDIUMInteger overflow leading to crash in Tensorflow
CVE-2022-217396.5 MEDIUMNull pointer dereference in TensorFlow
CVE-2022-217346.5 MEDIUM`CHECK`-failures in Tensorflow
CVE-2022-217356.5 MEDIUMDivision by zero in Tensorflow
CVE-2022-235696.5 MEDIUM`CHECK`-fails when building invalid tensor shapes in Tensorflow
CVE-2022-217256.5 MEDIUMDivision by zero in Tensorflow
CVE-2022-235676.5 MEDIUMInteger overflows in Tensorflow
CVE-2022-235686.5 MEDIUMInteger overflows in Tensorflow
CVE-2022-217334.3 MEDIUMMemory exhaustion in Tensorflow
CVE-2022-217324.3 MEDIUMMemory exhaustion in Tensorflow
CVE-2021-41837Insyde InsydeH2O 缓冲区错误漏洞

Showing top 20 of 45 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2022-21731

No comments yet


Leave a comment