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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-41887— Overflow in `tf.keras.losses.poisson` in Tensorflow

CVSS 4.8 · Medium EPSS 0.13% · P33
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-41887

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
Overflow in `tf.keras.losses.poisson` in Tensorflow
Source: NVD (National Vulnerability Database)
Vulnerability Description
TensorFlow is an open source platform for machine learning. `tf.keras.losses.poisson` receives a `y_pred` and `y_true` that are passed through `functor::mul` in `BinaryOp`. If the resulting dimensions overflow an `int32`, TensorFlow will crash due to a size mismatch during broadcast assignment. We have patched the issue in GitHub commit c5b30379ba87cbe774b08ac50c1f6d36df4ebb7c. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1 and 2.9.3, as these are also affected and still in supported range. However, we will not cherrypick this commit into TensorFlow 2.8.x, as it depends on Eigen behavior that changed between 2.8 and 2.9.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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.11 版本,2.10.1 版本之前的 2.10.x 版本,2.9.3 版本之前的 2.9.x 版本存在安全漏洞,该漏洞源于 `tf.keras.losses.poisson` 接收通过 `BinaryOp` 中的 `functor::mul` 传递的 `y_pred` 和 `y_true`。如果生成的维度溢出 `int32`,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.10.0, < 2.10.1 -

II. Public POCs for CVE-2022-41887

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-41887

登录查看更多情报信息。

Same Patch Batch · tensorflow · 2022-11-18 · 23 CVEs total

CVE-2022-419007.1 HIGHFractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow
CVE-2022-418947.1 HIGHBuffer overflow in `CONV_3D_TRANSPOSE` on TFLite
CVE-2022-418836.8 MEDIUMOut of bounds segmentation fault due to unequal op inputs in Tensorflow
CVE-2022-418806.8 MEDIUMThreadUnsafeUnigramCandidateSampler Heap out of bounds in Tensorflow
CVE-2022-418895.5 MEDIUMSegfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow
CVE-2022-419114.8 MEDIUMInvalid char to bool conversion when printing a tensor in Tensorflow
CVE-2022-419094.8 MEDIUMSegfault in `CompositeTensorVariantToComponents` in Tensorflow
CVE-2022-419084.8 MEDIUM`CHECK` fail via inputs in `PyFunc` in Tensorflow
CVE-2022-419074.8 MEDIUMOverflow in `ResizeNearestNeighborGrad` in Tensorflow
CVE-2022-419014.8 MEDIUM`CHECK_EQ` fail via input in `SparseMatrixNNZ` in Tensorflow
CVE-2022-418994.8 MEDIUM`CHECK` fail via inputs in `SdcaOptimizer` in Tensorflow
CVE-2022-418984.8 MEDIUM`CHECK` fail via inputs in `SparseFillEmptyRowsGrad` in Tensorflow
CVE-2022-418974.8 MEDIUM`FractionalMaxPoolGrad` Heap out of bounds read in Tensorflow
CVE-2022-418964.8 MEDIUM`tf.raw_ops.Mfcc` crashes in Tensorflow
CVE-2022-418954.8 MEDIUM`MirrorPadGrad` heap out of bounds read in Tensorflow
CVE-2022-418934.8 MEDIUM`CHECK_EQ` fail in `tf.raw_ops.TensorListResize` in Tensorflow
CVE-2022-418914.8 MEDIUMSegfault in `tf.raw_ops.TensorListConcat` in Tensorflow
CVE-2022-418904.8 MEDIUM`CHECK` fail in `BCast` overflow in Tensorflow
CVE-2022-418884.8 MEDIUMUnckecked rank size in `tf.image.generate_bounding_box_proposals` in Tensorflow
CVE-2022-418864.8 MEDIUMOverflow in `ImageProjectiveTransformV2` in Tensorflow

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-41887

No comments yet


Leave a comment