CVE-2022-21739

Source
https://cve.org/CVERecord?id=CVE-2022-21739
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21739.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21739
Aliases
Downstream
Related
Published
2022-02-03T13:13:52Z
Modified
2026-08-12T12:59:46Z
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
Null pointer dereference in TensorFlow
Details

Tensorflow is an Open Source Machine Learning Framework. The implementation of QuantizedMaxPool has an undefined behavior where user controlled inputs can trigger a reference binding to null pointer. 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-21739.json"
}
References

Affected packages

Git / github.com/tensorflow/tensorflow

Affected ranges

Type
GIT
Repo
https://github.com/tensorflow/tensorflow
Events
Database specific
Show details
{
    "cpe": [
        "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.5.2"
        },
        {
            "introduced": "2.6.0"
        },
        {
            "last_affected": "2.6.2"
        },
        {
            "introduced": "2.7.0"
        },
        {
            "last_affected": "2.7.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.5.0
0.6.0
2.*
2.7.0
v1.*
v1.1.0-rc1
v1.1.0-rc2
v1.12.1
v1.6.0-rc1
v1.9.0-rc2
v2.*
v2.5.0
v2.5.0-rc0
v2.5.0-rc1
v2.5.0-rc2
v2.5.0-rc3
v2.5.1
v2.5.2
v2.6.0
v2.6.1
v2.6.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21739.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "99421690762607116001747428385453757047",
                "191326666098777974333930673573382794221",
                "412558165589338279956825382859373964",
                "308952933857213375994761201822473429119",
                "271305370304651653719910401906032304752"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-21739-151a5091",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/tensorflow/tensorflow/commit/53b0dd6dc5957652f35964af16b892ec9af4a559",
        "target": {
            "file": "tensorflow/core/kernels/quantized_pooling_ops.cc"
        }
    }
]
vanir_signatures_modified
"2026-08-12T12:59:46Z"