{"id":"CVE-2022-36016","published":"2022-09-16T22:10:36Z","modified":"2025-04-23T17:00:33Z","title":"`CHECK`-fail in `tensorflow::full_type::SubstituteFromAttrs` in TensorFlow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. When `tensorflow::full_type::SubstituteFromAttrs` receives a `FullTypeDef& t` that is not exactly three args, it triggers a `CHECK`-fail instead of returning a status. We have patched the issue in GitHub commit 6104f0d4091c260ce9352f9155f7e9b725eab012. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00716,"percentile":0.54689,"provenance":"source"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-g468-qj8g-vcjc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/6104f0d4091c260ce9352f9155f7e9b725eab012","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/math_ops.cc","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":10.94},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.7.2",">= 2.8.0, < 2.8.1",">= 2.9.0, < 2.9.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:58:24.757939Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.7.2",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.2","2.8.1","2.9.1"],"from":["GHSA-g468-qj8g-vcjc","PYSEC-2026-3184"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.7.2",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.2","2.8.1","2.9.1"],"from":["GHSA-g468-qj8g-vcjc","PYSEC-2026-3327"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.7.2",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.2","2.8.1","2.9.1"],"from":["GHSA-g468-qj8g-vcjc","PYSEC-2026-996"],"provenance":"source"}],"summary":{"text":"A flaw in the tensorflow::full_type::SubstituteFromAttrs function of TensorFlow's full type handling triggers a CHECK-fail, which aborts the process, when it receives a FullTypeDef argument that does not contain exactly three arguments. An attacker with unauthenticated network access can trigger this by supplying crafted input that reaches the function, though the attack is considered high complexity and no user interaction is required, with the impact limited to availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:28Z"},"euvd":{"id":"EUVD-2022-6816","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2022-23570","parents":[{"from":"CVE-2022-23570","to":"CVE-2022-36016","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/framework/full_type_util.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/8a513cec4bec15961fbfdedcaa5376522980455c","https://github.com/tensorflow/tensorflow/commit/6104f0d4091c260ce9352f9155f7e9b725eab012"],"basis":"rarely changed file"}]},{"from":"CVE-2022-23574","to":"CVE-2022-36016","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/framework/full_type_util.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/0657c83d08845cc434175934c642299de2c0f042","https://github.com/tensorflow/tensorflow/commit/6104f0d4091c260ce9352f9155f7e9b725eab012"],"basis":"rarely changed file"}]}]}}