Improper input validation in Google Tensorflow
CVE-2022-29212
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, certain TFLite models that were created using TFLite model converter would crash when loaded in the TFLite interpreter. The culprit is that during quantization the scale of values could be greater than 1 but code was always assuming sub-unit scaling. Thus, since code was calling `QuantizeMultiplierSmallerThanOneExp`, the `TFLITE_CHECK_LT` assertion would trigger and abort the process. 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.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 22.3% 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-8wwm-6264-x792 (Exploit, Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/issues/43661 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/tensorflow/tensorflow/commit/a989426ee1346693cc015792f11d715f6944f2b8 (Patch, Third Party Advisory)
- github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/… (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29212?
- CVE-2022-29212 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-29212?
- Medium severity. CVSS v3 base score is 5.5 out of 10.