CVE-2022-29212CWE-20

Core dump when loading TFLite models with quantization in TensorFlow

Medium · published May 20, 2022

CVSS v3.1
5.5
EPSS
0%
Percentile
24.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00324 · 24.2th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2022-05-20T23:15Z
EPSS history
Timeline
  • 20 MAY 23:15Z
    Core dump when loading TFLite models with quantization in TensorFlow
    cvelistv5