Integer overflow in Google Tensorflow
CVE-2022-29203
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.SpaceToBatchND` (in all backends such as XLA and handwritten kernels) is vulnerable to an integer overflow: The result of this integer overflow is used to allocate the output tensor, hence we get a denial of service via a `CHECK`-failure (assertion failure), as in 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: Integer Overflow
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 (24.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 24th percentile — 24.4% 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-jjm6-4vf7-cjh4 (Exploit, Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/commit/acd56b8bcb72b163c834ae4f18469047b001fadf (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29203?
- CVE-2022-29203 is a medium-severity vulnerability in Google Tensorflow, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2022-05-20.
- How severe is CVE-2022-29203?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2022-29203 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.