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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-23583— `CHECK`-failures in binary ops in Tensorflow

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 存在安全漏洞,恶意用户可以通过更改 SavedModel 导致拒绝服务,这样任何二进制操作都会触发 CHECK 失败。

CVSS 6.5 · Medium EPSS 0.88% · P58

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-23583

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
`CHECK`-failures in binary ops in Tensorflow
Source: CVE Program / CVE List V5
Vulnerability Description
Tensorflow is an Open Source Machine Learning Framework. A malicious user can cause a denial of service by altering a `SavedModel` such that any binary op would trigger `CHECK` failures. This occurs when the protobuf part corresponding to the tensor arguments is modified such that the `dtype` no longer matches the `dtype` expected by the op. In that case, calling the templated binary operator for the binary op would receive corrupted data, due to the type confusion involved. If `Tin` and `Tout` don't match the type of data in `out` and `input_*` tensors then `flat<*>` would interpret it wrongly. In most cases, this would be a silent failure, but we have noticed scenarios where this results in a `CHECK` crash, hence a denial of service. 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/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 存在安全漏洞,恶意用户可以通过更改 SavedModel 导致拒绝服务,这样任何二进制操作都会触发 CHECK 失败。
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.7.0, < 2.7.1 -

II. Public POCs for CVE-2022-23583

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

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

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

Vendor Advisories for CVE-2022-23583 (1)

Other References for CVE-2022-23583 (1)

Same Patch Batch · tensorflow · 2022-02-04 · 36 CVEs total

CVE-2022-23561 8.8 HIGH Out of bounds write in TFLite
CVE-2022-23594 8.8 HIGH Out of bounds read in Tensorflow
CVE-2022-23587 8.8 HIGH Integer overflow in Tensorflow
CVE-2022-23559 8.8 HIGH Integer overflow in TFLite
CVE-2022-23560 8.8 HIGH Read and Write outside of bounds in TFLite
CVE-2022-23574 8.8 HIGH Out of bounds read and write in Tensorflow
CVE-2022-23566 8.8 HIGH Out of bounds write in Tensorflow
CVE-2022-23592 8.1 HIGH Out of bounds read in Tensorflow
CVE-2022-23558 7.6 HIGH Integer overflow in TFLite array creation
CVE-2022-23562 7.6 HIGH Integer overflow in Tensorflow
CVE-2022-23584 7.6 HIGH Use after free in `DecodePng` in Tensorflow
CVE-2022-23573 7.6 HIGH Uninitialized variable access in Tensorflow
CVE-2022-23591 7.5 HIGH Stack overflow in Tensorflow
CVE-2022-23563 7.1 HIGH Insecure temporary file in Tensorflow
CVE-2022-23581 6.5 MEDIUM `CHECK`-failures during Grappler's `IsSimplifiableReshape` in Tensorflow
CVE-2022-23557 6.5 MEDIUM Division by zero in TFLite
CVE-2022-23570 6.5 MEDIUM Null-dereference in Tensorflow
CVE-2022-23564 6.5 MEDIUM Reachable Assertion in Tensorflow
CVE-2022-23565 6.5 MEDIUM `CHECK`-failures in Tensorflow
CVE-2022-23582 6.5 MEDIUM `CHECK`-failures in `TensorByteSize` in Tensorflow

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-23583

No comments yet


Leave a comment