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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-23585— Memory leak in decoding PNG images in Tensorflow

CVSS 4.3 · Medium EPSS 0.66% · P71
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-23585

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
Memory leak in decoding PNG images in Tensorflow
Source: NVD (National Vulnerability Database)
Vulnerability Description
Tensorflow is an Open Source Machine Learning Framework. When decoding PNG images TensorFlow can produce a memory leak if the image is invalid. After calling `png::CommonInitDecode(..., &decode)`, the `decode` value contains allocated buffers which can only be freed by calling `png::CommonFreeDecode(&decode)`. However, several error case in the function implementation invoke the `OP_REQUIRES` macro which immediately terminates the execution of the function, without allowing for the memory free to occur. 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:L
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)公司的一套用于机器学习的端到端开源平台。 Tensorflow 存在安全漏洞,该漏洞源于当解码PNG图像时,如果图像无效,TensorFlow可能会产生内存泄漏。
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.5.3 -

II. Public POCs for CVE-2022-23585

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-23585

登录查看更多情报信息。

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

CVE-2022-235618.8 HIGHOut of bounds write in TFLite
CVE-2022-235948.8 HIGHOut of bounds read in Tensorflow
CVE-2022-235878.8 HIGHInteger overflow in Tensorflow
CVE-2022-235598.8 HIGHInteger overflow in TFLite
CVE-2022-235608.8 HIGHRead and Write outside of bounds in TFLite
CVE-2022-235748.8 HIGHOut of bounds read and write in Tensorflow
CVE-2022-235668.8 HIGHOut of bounds write in Tensorflow
CVE-2022-235928.1 HIGHOut of bounds read in Tensorflow
CVE-2022-235587.6 HIGHInteger overflow in TFLite array creation
CVE-2022-235627.6 HIGHInteger overflow in Tensorflow
CVE-2022-235847.6 HIGHUse after free in `DecodePng` in Tensorflow
CVE-2022-235737.6 HIGHUninitialized variable access in Tensorflow
CVE-2022-235917.5 HIGHStack overflow in Tensorflow
CVE-2022-235637.1 HIGHInsecure temporary file in Tensorflow
CVE-2022-235756.5 MEDIUMInteger overflow in Tensorflow
CVE-2022-235576.5 MEDIUMDivision by zero in TFLite
CVE-2022-235706.5 MEDIUMNull-dereference in Tensorflow
CVE-2022-235646.5 MEDIUMReachable Assertion in Tensorflow
CVE-2022-235656.5 MEDIUM`CHECK`-failures in Tensorflow
CVE-2022-235826.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-23585

No comments yet


Leave a comment