{"id":"CVE-2021-29613","published":"2021-05-14T19:20:33Z","modified":"2024-08-03T22:11:06Z","title":"Incomplete validation in `tf.raw_ops.CTCLoss`","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an end-to-end open source platform for machine learning. Incomplete validation in `tf.raw_ops.CTCLoss` allows an attacker to trigger an OOB read from heap. The fix will be included in TensorFlow 2.5.0. We will also cherrypick these commits on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0024,"percentile":0.1541,"provenance":"source"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vvg4-vgrv-xfr7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/14607c0707040d775e06b6817325640cb4b5864c","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/commit/4504a081af71514bb1828048363e6540f797005b","tags":["x_refsource_MISC"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":3.08},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.1.4",">= 2.2.0, < 2.2.3",">= 2.3.0, < 2.3.3",">= 2.4.0, < 2.4.2"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.1.4",">=2.2.0, <2.2.3",">=2.3.0, <2.3.3",">=2.4.0, <2.4.2"],"patched":["2.1.4","2.2.3","2.3.3","2.4.2"],"from":["GHSA-vvg4-vgrv-xfr7","PYSEC-2021-250"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.1.4",">=2.2.0, <2.2.3",">=2.3.0, <2.3.3",">=2.4.0, <2.4.2"],"patched":["2.1.4","2.2.3","2.3.3","2.4.2"],"from":["GHSA-vvg4-vgrv-xfr7","PYSEC-2021-541"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.1.4",">=2.2.0, <2.2.3",">=2.3.0, <2.3.3",">=2.4.0, <2.4.2"],"patched":["2.1.4","2.2.3","2.3.3","2.4.2"],"from":["GHSA-vvg4-vgrv-xfr7","PYSEC-2021-739"],"provenance":"source"}],"summary":{"text":"The flaw is incomplete input validation in the CTCLoss operation (tf.raw_ops.CTCLoss) within TensorFlow, the open source machine learning platform. An attacker who can get a crafted input to that operation can trigger an out-of-bounds read from the heap, and the attack requires local access with low privileges plus a high-complexity condition to succeed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:37Z"},"euvd":{"id":"EUVD-2021-0354","exploited":false,"provenance":"source"}}