CVE-2021-29611

Source
https://cve.org/CVERecord?id=CVE-2021-29611
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29611.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29611
Aliases
Related
Published
2021-05-14T20:15:15.947Z
Modified
2026-02-16T07:52:15.238100Z
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. Incomplete validation in SparseReshape results in a denial of service based on a CHECK-failure. The implementation(https://github.com/tensorflow/tensorflow/blob/e87b51ce05c3eb172065a6ea5f48415854223285/tensorflow/core/kernels/sparsereshapeop.cc#L40) has no validation that the input arguments specify a valid sparse tensor. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2 and TensorFlow 2.3.3, as these are the only affected versions.

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/cve-osv-conversion/osv-output/CVE-2021-29611.json"
vanir_signatures
[
    {
        "id": "CVE-2021-29611-7ac133f3",
        "target": {
            "file": "tensorflow/core/kernels/sparse_reshape_op.cc"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/tensorflow/tensorflow/commit/1d04d7d93f4ed3854abf75d6b712d72c3f70d6b6",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "158159903475446779880967988611394154443",
                "267787465191184409819835649506901042082",
                "265570247639594904370691175315383030911",
                "172586733352639170258723933795550879171",
                "217998250740609711177308564080330353836",
                "121202344012005619311567391870920230261",
                "198983287854641823931519055359618189762",
                "9903896771086403761409399151986643021"
            ]
        },
        "signature_type": "Line"
    }
]