CVE-2021-37688

Source
https://cve.org/CVERecord?id=CVE-2021-37688
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-37688.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-37688
Aliases
Downstream
Related
Published
2021-08-12T22:15:09.067Z
Modified
2026-02-09T04:44:13.585082Z
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 an attacker can craft a TFLite model that would trigger a null pointer dereference, which would result in a crash and denial of service. The implementation unconditionally dereferences a pointer. We have patched the issue in GitHub commit 15691e456c7dc9bd6be203b09765b063bf4a380c. 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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-37688.json"
vanir_signatures
[
    {
        "deprecated": false,
        "source": "https://github.com/tensorflow/tensorflow/commit/15691e456c7dc9bd6be203b09765b063bf4a380c",
        "target": {
            "file": "tensorflow/lite/kernels/internal/optimized/optimized_ops.h",
            "function": "BinaryBroadcastFiveFold"
        },
        "id": "CVE-2021-37688-5be6e2b0",
        "digest": {
            "length": 1729.0,
            "function_hash": "92563990338374188824019030932806436962"
        },
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "source": "https://github.com/tensorflow/tensorflow/commit/15691e456c7dc9bd6be203b09765b063bf4a380c",
        "target": {
            "file": "tensorflow/lite/kernels/internal/optimized/optimized_ops.h"
        },
        "id": "CVE-2021-37688-aa14ff0e",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "274329886678257116813417216592727791043",
                "327282245305333981923674323182386778730",
                "52007927228416436506203920743886525996",
                "36361900919286091169610663390865350809"
            ]
        },
        "signature_type": "Line",
        "signature_version": "v1"
    }
]