CVE-2022-21734

Source
https://cve.org/CVERecord?id=CVE-2022-21734
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-21734.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-21734
Aliases
Downstream
Related
Published
2022-02-03T12:59:18Z
Modified
2026-08-03T14:35:32.361813Z
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
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Affected versions

0.*
0.5.0
0.6.0
v1.*
v1.1.0-rc1
v1.1.0-rc2
v1.12.1
v1.6.0-rc1
v1.9.0-rc2

Database specific

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