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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-29204— Missing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`

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.9.0之前版本、2.8.1之前版本、2.7.2之前版本和2.6.4之前版本存在安全漏洞,该漏洞源于tf.raw_ops.UnsortedSegmentJoin 对于输入的参数存在不完全验证。攻击者利用该漏洞可以触发断言失败实现拒绝服务攻击。

CVSS 5.5 · Medium EPSS 0.35% · P28

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-29204

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
Missing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`
Source: CVE Program / CVE List V5
Vulnerability Description
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.UnsortedSegmentJoin` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. The code assumes `num_segments` is a positive scalar but there is no validation. Since this value is used to allocate the output tensor, a negative value would result in a `CHECK`-failure (assertion failure), as per TFSA-2021-198. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.9.0之前版本、2.8.1之前版本、2.7.2之前版本和2.6.4之前版本存在安全漏洞,该漏洞源于tf.raw_ops.UnsortedSegmentJoin 对于输入的参数存在不完全验证。攻击者利用该漏洞可以触发断言失败实现拒绝服务攻击。
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.6.4 -

II. Public POCs for CVE-2022-29204

# 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-29204

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

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

Vendor Advisories for CVE-2022-29204 (1)

Other References for CVE-2022-29204 (6)

Same Patch Batch · tensorflow · 2022-05-20 · 24 CVEs total

CVE-2022-29216 7.8 HIGH Code injection in `saved_model_cli` in TensorFlow
CVE-2022-29208 7.1 HIGH Segfault and Out-of-bounds Write write due to incomplete validation in TensorFlow
CVE-2022-29206 5.5 MEDIUM Missing validation results in undefined behavior in `SparseTensorDenseAdd` in TensorFlow
CVE-2022-29213 5.5 MEDIUM Incomplete validation in signal ops leads to crashes in TensorFlow
CVE-2022-29210 5.5 MEDIUM Heap buffer overflow due to incorrect hash function in TensorFlow
CVE-2022-29209 5.5 MEDIUM Type confusion leading to `CHECK`-failure based denial of service in TensorFlow
CVE-2022-29211 5.5 MEDIUM Segfault in TensorFlow if `tf.histogram_fixed_width` is called with NaN values
CVE-2022-29212 5.5 MEDIUM Core dump when loading TFLite models with quantization in TensorFlow
CVE-2022-29201 5.5 MEDIUM Missing validation in `QuantizedConv2D` results in undefined behavior in TensorFlow
CVE-2022-29202 5.5 MEDIUM Denial of service in TensorFlow due to lack of validation in `tf.ragged.constant`
CVE-2022-29203 5.5 MEDIUM Integer overflow in `SpaceToBatchND` in TensorFlow
CVE-2022-29205 5.5 MEDIUM Segfault due to missing support for quantized types in TensorFlow
CVE-2022-29192 5.5 MEDIUM Missing validation crashes `QuantizeAndDequantizeV4Grad` in TensorFlow
CVE-2022-29207 5.5 MEDIUM Undefined behavior when users supply invalid resource handles in TensorFlow
CVE-2022-29195 5.5 MEDIUM Missing validation causes denial of service in TensorFlow via `StagePeek`
CVE-2022-29197 5.5 MEDIUM Missing validation causes denial of service in TensorFlow via `UnsortedSegmentJoin`
CVE-2022-29196 5.5 MEDIUM Missing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`
CVE-2022-29198 5.5 MEDIUM Missing validation causes denial of service in TensorFlow via `SparseTensorToCSRSparseMatr
CVE-2022-29199 5.5 MEDIUM Missing validation causes denial of service in TensorFlow via `LoadAndRemapMatrix`
CVE-2022-29200 5.5 MEDIUM Missing validation causes denial of service in TensorFlow via `LSTMBlockCell`

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-29204

No comments yet


Leave a comment