CVE-2021-37635

Source
https://cve.org/CVERecord?id=CVE-2021-37635
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-37635.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-37635
Aliases
Downstream
Related
Published
2021-08-12T21:15:07.577Z
Modified
2026-02-24T11:41:26.942614Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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 sparse reduction operations in TensorFlow can trigger accesses outside of bounds of heap allocated data. The implementation fails to validate that each reduction group does not overflow and that each corresponding index does not point to outside the bounds of the input tensor. We have patched the issue in GitHub commit 87158f43f05f2720a374f3e6d22a7aaa3a33f750. 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
[
    {
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2021-37635-000ea624",
        "source": "https://github.com/tensorflow/tensorflow/commit/87158f43f05f2720a374f3e6d22a7aaa3a33f750",
        "target": {
            "file": "tensorflow/core/kernels/sparse_reduce_op.cc"
        },
        "digest": {
            "line_hashes": [
                "87158746834590396613968787538666951617",
                "20632424972283654539876085387072813623",
                "55604543075744764700547631358829840883",
                "210981671848537035473190120061404884516",
                "286308416571166427746766079602331343429"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-37635.json"