CVE-2021-37670

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

TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can read from outside of bounds of heap allocated data by sending specially crafted illegal arguments to tf.raw_ops.UpperBound. The implementation does not validate the rank of sorted_input argument. A similar issue occurs in tf.raw_ops.LowerBound. We have patched the issue in GitHub commit 42459e4273c2e47a3232cc16c4f4fff3b3a35c38. 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

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-37670.json"
vanir_signatures
[
    {
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "217598485465480210282593333328729280610",
                "258447870997312984747646919551067192535",
                "70091910491796889662803071888701853199",
                "217598485465480210282593333328729280610",
                "258447870997312984747646919551067192535",
                "70091910491796889662803071888701853199"
            ]
        },
        "signature_type": "Line",
        "source": "https://github.com/tensorflow/tensorflow/commit/42459e4273c2e47a3232cc16c4f4fff3b3a35c38",
        "target": {
            "file": "tensorflow/core/kernels/searchsorted_op.cc"
        },
        "deprecated": false,
        "id": "CVE-2021-37670-d8b25ec9"
    }
]