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-04-11T18:45:02.183524Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21739.json",
    "cna_assigner": "GitHub_M"
}
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

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
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
v2.7.0
v2.7.0-rc0
v2.7.0-rc1

Database specific

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