Improper input validation in Google Tensorflow
CVE-2022-29198
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.SparseTensorToCSRSparseMatrix` 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 `dense_shape` is a vector and `indices` is a matrix (as part of requirements for sparse tensors) but there is no validation for this. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.003 (22.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 22.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
- Google Tensorflow — versions 2.7.0, 2.8.0, 2.9.0
- Tensorflow — versions < 2.6.4, >= 2.7.0rc0, < 2.7.2, >= 2.8.0rc0, < 2.8.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/tensorflow/tensorflow/releases/tag/v2.6.4 (Third Party Advisory, Release Notes)
- github.com/tensorflow/tensorflow/releases/tag/v2.7.2 (Third Party Advisory, Release Notes)
- github.com/tensorflow/tensorflow/releases/tag/v2.8.1 (Third Party Advisory, Release Notes)
- github.com/tensorflow/tensorflow/releases/tag/v2.9.0 (Third Party Advisory, Release Notes)
- github.com/tensorflow/tensorflow/security/advisories/GHSA-mg66-qvc5-rm93 (Exploit, Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/commit/ea50a40e84f6bff15a0912728e35b657548cef11 (Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/… (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29198?
- CVE-2022-29198 is a medium-severity vulnerability in Google Tensorflow, classified under Improper Input Validation. CVSS score: 5.5/10. Published 2022-05-20.
- How severe is CVE-2022-29198?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2022-29198 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.