TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of tf.raw_ops.StagePeek does not fully validate the input arguments. This results in a CHECK-failure which can be used to trigger a denial of service attack. The code assumes index is a scalar but there is no validation for this before accessing its value. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-20"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29195.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0-rc0"
},
{
"last_affected": "2.7.0-rc0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0-rc1"
},
{
"last_affected": "2.7.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "2.8.0-NA"
},
{
"last_affected": "2.8.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*",
"range": [
{
"introduced": "2.8.0-rc0"
},
{
"last_affected": "2.8.0-rc0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.8.0-rc1"
},
{
"last_affected": "2.8.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.9.0:rc0:*:*:*:*:*:*",
"range": [
{
"introduced": "2.9.0-rc0"
},
{
"last_affected": "2.9.0-rc0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.9.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.9.0-rc1"
},
{
"last_affected": "2.9.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "cebe3c45d76357d201c65bdbbf0dbe6e8a63bbdb"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.6.4",
"range": [
{
"fixed": "33ed2b11cb8e879d86c371700e6573db1814a69e"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v2.7.2",
"range": [
{
"fixed": "dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v2.8.1",
"range": [
{
"fixed": "0516d4d8bced506cae97dc3cb45dbd2fe4311f26"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v2.9.0",
"range": [
{
"fixed": "8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29195.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"173020298800718780027631899521333973300",
"180396381055118800820626725984631179586",
"184476826111046253055961214969981398992"
],
"threshold": 0.9
},
"id": "CVE-2022-29195-2c741d11",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/tensorflow/tensorflow/commit/cebe3c45d76357d201c65bdbbf0dbe6e8a63bbdb",
"target": {
"file": "tensorflow/core/kernels/stage_op.cc"
}
}
]
"2026-10-21T08:23:40Z"