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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-29212— Core dump when loading TFLite models with quantization in TensorFlow

CVSS 5.5 · Medium EPSS 0.11% · P28
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-29212

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
Core dump when loading TFLite models with quantization in TensorFlow
Source: NVD (National Vulnerability Database)
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, certain TFLite models that were created using TFLite model converter would crash when loaded in the TFLite interpreter. The culprit is that during quantization the scale of values could be greater than 1 but code was always assuming sub-unit scaling. Thus, since code was calling `QuantizeMultiplierSmallerThanOneExp`, the `TFLITE_CHECK_LT` assertion would trigger and abort the process. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/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.9.0之前版本、2.8.1之前版本、2.7.2之前版本和2.6.4之前版本存在输入验证错误漏洞,该漏洞源于应用在使用 TFLite 模型转换器创建的某些 TFLite 模型在加载到 TFLite 解释器时会发生崩溃。
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.6.4 -

II. Public POCs for CVE-2022-29212

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-29212

登录查看更多情报信息。

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

CVE-2022-292167.8 HIGHCode injection in `saved_model_cli` in TensorFlow
CVE-2022-292087.1 HIGHSegfault and Out-of-bounds Write write due to incomplete validation in TensorFlow
CVE-2022-292065.5 MEDIUMMissing validation results in undefined behavior in `SparseTensorDenseAdd` in TensorFlow
CVE-2022-292135.5 MEDIUMIncomplete validation in signal ops leads to crashes in TensorFlow
CVE-2022-292105.5 MEDIUMHeap buffer overflow due to incorrect hash function in TensorFlow
CVE-2022-292095.5 MEDIUMType confusion leading to `CHECK`-failure based denial of service in TensorFlow
CVE-2022-292115.5 MEDIUMSegfault in TensorFlow if `tf.histogram_fixed_width` is called with NaN values
CVE-2022-292015.5 MEDIUMMissing validation in `QuantizedConv2D` results in undefined behavior in TensorFlow
CVE-2022-292025.5 MEDIUMDenial of service in TensorFlow due to lack of validation in `tf.ragged.constant`
CVE-2022-292035.5 MEDIUMInteger overflow in `SpaceToBatchND` in TensorFlow
CVE-2022-292045.5 MEDIUMMissing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`
CVE-2022-292055.5 MEDIUMSegfault due to missing support for quantized types in TensorFlow
CVE-2022-291925.5 MEDIUMMissing validation crashes `QuantizeAndDequantizeV4Grad` in TensorFlow
CVE-2022-292075.5 MEDIUMUndefined behavior when users supply invalid resource handles in TensorFlow
CVE-2022-291955.5 MEDIUMMissing validation causes denial of service in TensorFlow via `StagePeek`
CVE-2022-291975.5 MEDIUMMissing validation causes denial of service in TensorFlow via `UnsortedSegmentJoin`
CVE-2022-291965.5 MEDIUMMissing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`
CVE-2022-291985.5 MEDIUMMissing validation causes denial of service in TensorFlow via `SparseTensorToCSRSparseMatr
CVE-2022-291995.5 MEDIUMMissing validation causes denial of service in TensorFlow via `LoadAndRemapMatrix`
CVE-2022-292005.5 MEDIUMMissing 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-29212

No comments yet


Leave a comment