CVE-2021-41222

Source
https://cve.org/CVERecord?id=CVE-2021-41222
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41222.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-41222
Aliases
Downstream
Related
Published
2021-11-05T23:15:08.477Z
Modified
2026-02-03T21:35:12.577736Z
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 implementation of SplitV can trigger a segfault is an attacker supplies negative arguments. This occurs whenever size_splits contains more than one value and at least one value is negative. 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

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "tensorflow/core/ops/array_ops.cc"
        },
        "source": "https://github.com/tensorflow/tensorflow/commit/25d622ffc432acc736b14ca3904177579e733cc6",
        "id": "CVE-2021-41222-72bd4800",
        "digest": {
            "line_hashes": [
                "155248897806631646894894032128092835452",
                "63509871990897372594330344710811449368",
                "235356483153968333294529749571913080419",
                "248957730783742400689784506060539203810"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "tensorflow/core/kernels/split_v_op.cc"
        },
        "source": "https://github.com/tensorflow/tensorflow/commit/25d622ffc432acc736b14ca3904177579e733cc6",
        "id": "CVE-2021-41222-e67b18d1",
        "digest": {
            "line_hashes": [
                "19946764870141937795827098636538825565",
                "140726300659285684956096068186787392565",
                "110222053743676634793320510996824713541"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41222.json"