CVE-2022-21734

Source
https://cve.org/CVERecord?id=CVE-2022-21734
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21734.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21734
Aliases
Downstream
Related
Published
2022-02-03T12:59:18Z
Modified
2026-03-11T00:02:41.850206Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
`CHECK`-failures in Tensorflow
Details

Tensorflow is an Open Source Machine Learning Framework. The implementation of MapStage is vulnerable a CHECK-fail if the key tensor is not a scalar. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21734.json"
}
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
Last affected
Introduced
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.5.2"
        },
        {
            "introduced": "2.6.0"
        },
        {
            "last_affected": "2.6.2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.7.0"
        }
    ]
}

Affected versions

v2.*
v2.6.0
v2.6.1
v2.6.2

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "id": "CVE-2022-21734-f2a1091e",
        "target": {
            "file": "tensorflow/core/kernels/map_stage_op.cc"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "243902956803889931897551431230506542273",
                "262540243667239542078015843315170987613",
                "4595770219690293797249209549677157709"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/tensorflow/tensorflow/commit/f57315566d7094f322b784947093406c2aea0d7d"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21734.json"