Improper input validation in Google Tensorflow
CVE-2022-29211
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.histogram_fixed_width` is vulnerable to a crash when the values array contain `Not a Number` (`NaN`) elements. The implementation assumes that all floating point operations are defined and then converts a floating point result to an integer index. If `values` contains `NaN` then the result of the division is still `NaN` and the cast to `int32` would result in a crash. This only occurs on the CPU implementation. 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.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 22.0% 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)
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-xrp2-fhq4-4q3w (Exploit, Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/issues/45770 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/tensorflow/tensorflow/commit/e57fd691c7b0fd00ea3bfe43444f30c1969748b5 (Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/… (Third Party Advisory)
- github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/… (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29211?
- CVE-2022-29211 is a medium-severity vulnerability in Google Tensorflow, classified under Improper Input Validation. CVSS score: 5.5/10. Published 2022-05-21.
- How severe is CVE-2022-29211?
- Medium severity. CVSS v3 base score is 5.5 out of 10.