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-09T04:31:35.687761Z
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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23577.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-476"
    ]
}
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
Introduced
Introduced
Fixed
Database specific
{
    "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

Database specific

vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "19274502061701587581052645469503242845",
                "90978372360234550631611578511302017629",
                "34877093218406427310302652576950685653",
                "186294449925519280170848524884573456506",
                "98445338150164267485945979139634798744",
                "296658408426906723798297652906260836160"
            ]
        },
        "target": {
            "file": "tensorflow/cc/saved_model/loader_util.cc"
        },
        "id": "CVE-2022-23577-0028b7ea",
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250",
        "deprecated": false
    },
    {
        "digest": {
            "function_hash": "172339186409680260093937717818425219470",
            "length": 898.0
        },
        "target": {
            "function": "GetInitOp",
            "file": "tensorflow/cc/saved_model/loader_util.cc"
        },
        "id": "CVE-2022-23577-9323c943",
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250",
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23577.json"
vanir_signatures_modified
"2026-07-09T04:31:35Z"