CVE-2021-37683

Source
https://cve.org/CVERecord?id=CVE-2021-37683
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-37683.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-37683
Aliases
Downstream
Related
Published
2021-08-12T23:15:08.487Z
Modified
2026-02-24T11:42:07.134503Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation of division in TFLite is vulnerable to a division by 0 error. There is no check that the divisor tensor does not contain zero elements. We have patched the issue in GitHub commit 1e206baedf8bef0334cca3eb92bab134ef525a28. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.

References

Affected packages

Git / github.com/tensorflow/tensorflow

Affected ranges

Type
GIT
Repo
https://github.com/tensorflow/tensorflow
Events

Database specific

vanir_signatures
[
    {
        "digest": {
            "function_hash": "241915295281335653926816805390204060819",
            "length": 961.0
        },
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/tensorflow/tensorflow/commit/1e206baedf8bef0334cca3eb92bab134ef525a28",
        "id": "CVE-2021-37683-2a014b6b",
        "target": {
            "function": "Eval",
            "file": "tensorflow/lite/kernels/div.cc"
        }
    },
    {
        "digest": {
            "line_hashes": [
                "192032926309410601616276304266991941170",
                "197033630405987315711024635492453843752",
                "125464093376813794073926918488850202537",
                "215392434669832427361956851366120479603",
                "36444131715250998182098008014342239801",
                "222421202977682163918419056246294788698",
                "335412382938227064096702647201710774578",
                "178859112438527598004368718036865686624",
                "179891618319963547923629871749153938684",
                "194723390917787130513253012618565048323"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/tensorflow/tensorflow/commit/1e206baedf8bef0334cca3eb92bab134ef525a28",
        "id": "CVE-2021-37683-4194ac61",
        "target": {
            "file": "tensorflow/lite/kernels/div.cc"
        }
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-37683.json"