CVE-2021-41215

Source
https://cve.org/CVERecord?id=CVE-2021-41215
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41215.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-41215
Aliases
Downstream
Related
Published
2021-11-05T21:15:09.003Z
Modified
2026-02-19T01:56:10.364468Z
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 open source platform for machine learning. In affected versions the shape inference code for DeserializeSparse can trigger a null pointer dereference. This is because the shape inference function assumes that the serialize_sparse tensor is a tensor with positive rank (and having 3 as the last dimension). 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
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41215.json"
vanir_signatures
[
    {
        "target": {
            "file": "tensorflow/core/ops/sparse_ops.cc"
        },
        "digest": {
            "line_hashes": [
                "325222962699495185038324433408192320387",
                "135717973706146516842869404431662552576",
                "173745391061575972182160269700888804397",
                "260399642956101948539994592885380092829",
                "163510374096494953302881300139892006138",
                "316946323388347678857337301130265990245"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "id": "CVE-2021-41215-0d794c4e",
        "source": "https://github.com/tensorflow/tensorflow/commit/d3738dd70f1c9ceb547258cbb82d853da8771850",
        "deprecated": false,
        "signature_version": "v1"
    }
]