CVE-2022-21730

Source
https://cve.org/CVERecord?id=CVE-2022-21730
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21730.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21730
Aliases
Downstream
Related
Published
2022-02-03T10:48:29Z
Modified
2026-08-12T13:00:13.955695Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
Out of bounds read in Tensorflow
Details

Tensorflow is an Open Source Machine Learning Framework. The implementation of FractionalAvgPoolGrad does not consider cases where the input tensors are invalid allowing an attacker to read from outside of bounds of heap. 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-21730.json",
    "cna_assigner": "GitHub_M"
}
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

vanir_signatures_modified
"2026-08-12T13:00:13Z"
vanir_signatures
[
    {
        "id": "CVE-2022-21730-aa920a33",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "247677733064133363475683240260350950079",
                "211013169028212055174252685045313731666",
                "266230621670766112629044256293834513472",
                "138001233068085857899093132106338659661",
                "295020665072851053248376231679122032908",
                "287471620927681731142022172899417948574",
                "43379296771201277499059477386726393225",
                "325124972754513570642349772422466179569",
                "274916756153020027763064138751819925387",
                "302730438141544393839559997459488283121",
                "145411662072066637421483808612396496692",
                "287984889469641988231907685040575392199"
            ]
        },
        "source": "https://github.com/tensorflow/tensorflow/commit/002408c3696b173863228223d535f9de72a101a9",
        "target": {
            "file": "tensorflow/core/kernels/fractional_avg_pool_op.cc"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21730.json"