CVE-2022-23577

Source
https://cve.org/CVERecord?id=CVE-2022-23577
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23577.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23577
Aliases
Downstream
Related
Published
2022-02-04T22:32:31Z
Modified
2026-07-22T02:24:06.553768Z
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-dereference in Tensorflow
Details

Tensorflow is an Open Source Machine Learning Framework. The implementation of GetInitOp is vulnerable to a crash caused by dereferencing a 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
{
    "cwe_ids": [
        "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23577.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
{
    "cpe": [
        "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ],
    "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"
        }
    ]
}

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-07-22T02:24:06Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "target": {
            "file": "tensorflow/cc/saved_model/loader_util.cc"
        },
        "deprecated": false,
        "source": "https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250",
        "id": "CVE-2022-23577-0028b7ea",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "19274502061701587581052645469503242845",
                "90978372360234550631611578511302017629",
                "34877093218406427310302652576950685653",
                "186294449925519280170848524884573456506",
                "98445338150164267485945979139634798744",
                "296658408426906723798297652906260836160"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "tensorflow/cc/saved_model/loader_util.cc",
            "function": "GetInitOp"
        },
        "deprecated": false,
        "source": "https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250",
        "id": "CVE-2022-23577-9323c943",
        "signature_version": "v1",
        "digest": {
            "function_hash": "172339186409680260093937717818425219470",
            "length": 898.0
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23577.json"