Integer overflow in Google Tensorflow
CVE-2022-29204
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.UnsortedSegmentJoin` 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 `num_segments` is a positive scalar but there is no validation. Since this value is used to allocate the output tensor, a negative value would result in a `CHECK`-failure (assertion failure), as per TFSA-2021-198. 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 (25.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 26th percentile — 25.9% 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/blob/master/tensorflow/security/advisory/tfsa-… (Patch, Third Party Advisory)
- 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-hx9q-2mx4-m4pg (Exploit, Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/commit/20cb18724b0bf6c09071a3f53434c4eec53cc147 (Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/commit/84563f265f28b3c36a15335c8b005d405260e943 (Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/… (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29204?
- CVE-2022-29204 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-29204?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2022-29204 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.