{"id":"CVE-2022-36018","published":"2022-09-16T22:05:15Z","modified":"2025-04-23T17:01:17Z","title":"`CHECK` fail in `RaggedTensorToVariant` in TensorFlow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. If `RaggedTensorToVariant` is given a `rt_nested_splits` list that contains tensors of ranks other than one, it results in a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 88f93dfe691563baa4ae1e80ccde2d5c7a143821. 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.00472,"percentile":0.4169,"provenance":"source"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-m6cv-4fmf-66xf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/88f93dfe691563baa4ae1e80ccde2d5c7a143821","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":8.34},{"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:46.127887Z","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-m6cv-4fmf-66xf","PYSEC-2026-3212"],"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-m6cv-4fmf-66xf","PYSEC-2026-3348"],"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-m6cv-4fmf-66xf","PYSEC-2026-1016"],"provenance":"source"}],"summary":{"text":"The TensorFlow RaggedTensorToVariant operation fails a CHECK assertion when its rt_nested_splits input contains tensors whose rank is not one. An attacker who can submit crafted input to this operation can trigger that assertion to crash the process, causing a denial of service; the attack requires network access and no authentication or user interaction, though it depends on a specially constructed rt_nested_splits list being processed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:02Z"},"euvd":{"id":"EUVD-2022-6871","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-29516","parents":[{"from":"CVE-2021-29516","to":"CVE-2022-36018","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/ragged_tensor_to_variant_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/b055b9c474cd376259dde8779908f9eeaf097d93","https://github.com/tensorflow/tensorflow/commit/88f93dfe691563baa4ae1e80ccde2d5c7a143821"],"basis":"shared function","functions":["RaggedTensorToVariantOp"]}]},{"from":"CVE-2021-37666","to":"CVE-2022-36018","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/ragged_tensor_to_variant_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/be7a4de6adfbd303ce08be4332554dff70362612","https://github.com/tensorflow/tensorflow/commit/88f93dfe691563baa4ae1e80ccde2d5c7a143821"],"basis":"shared function","functions":["RaggedTensorToVariantOp"]}]}]}}