CVE-2021-41226

Source
https://cve.org/CVERecord?id=CVE-2021-41226
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41226.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-41226
Aliases
Downstream
Related
Published
2021-11-05T21:15:09.327Z
Modified
2026-02-22T01:32:27.215210Z
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 open source platform for machine learning. In affected versions the implementation of SparseBinCount is vulnerable to a heap OOB access. This is because of missing validation between the elements of the values argument and the shape of the sparse output. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.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-41226.json"
vanir_signatures
[
    {
        "target": {
            "file": "tensorflow/core/kernels/bincount_op.cc"
        },
        "digest": {
            "line_hashes": [
                "323502896564760348770414956888250493590",
                "167026848322535836829715194952420666030",
                "104944731889702888439368542079715759939",
                "206208899676008031936429978061193038136"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "id": "CVE-2021-41226-e20385d0",
        "source": "https://github.com/tensorflow/tensorflow/commit/f410212e373eb2aec4c9e60bf3702eba99a38aba",
        "deprecated": false,
        "signature_version": "v1"
    }
]