{"id":"CVE-2020-15195","published":"2020-09-25T18:40:41Z","modified":"2024-08-04T13:08:22Z","title":"Heap buffer overflow in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the implementation of `SparseFillEmptyRowsGrad` uses a double indexing pattern. It is possible for `reverse_index_map(i)` to be an index outside of bounds of `grad_values`, thus resulting in a heap buffer overflow. The issue is patched in commit 390611e0d45c5793c7066110af37c8514e6a6c54, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0095,"percentile":0.59775,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-63xm-rx5p-xvqr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/390611e0d45c5793c7066110af37c8514e6a6c54","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":11.96},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 1.15.4",">= 2.0.0, < 2.0.3",">= 2.1.0, < 2.1.2",">= 2.2.0, < 2.2.1",">= 2.3.0, < 2.3.1"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<1.15.4",">=2.0.0, <2.0.3",">=2.1.0, <2.1.2",">=2.2.0, <2.2.1",">=2.3.0, <2.3.1"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-63xm-rx5p-xvqr","PYSEC-2020-118"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<1.15.4",">=2.0.0, <2.0.3",">=2.1.0, <2.1.2",">=2.2.0, <2.2.1",">=2.3.0, <2.3.1"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-63xm-rx5p-xvqr","PYSEC-2020-275"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<1.15.4",">=2.0.0, <2.0.3",">=2.1.0, <2.1.2",">=2.2.0, <2.2.1",">=2.3.0, <2.3.1"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-63xm-rx5p-xvqr","PYSEC-2020-310"],"provenance":"source"}],"summary":{"text":"A heap buffer overflow in TensorFlow's SparseFillEmptyRowsGrad implementation arises from a double indexing pattern in which reverse_index_map(i) can point outside the bounds of grad_values. An attacker with network access and low privileges, without needing user interaction, could trigger out-of-bounds memory access by supplying crafted input, with high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:08Z"},"euvd":{"id":"EUVD-2020-0191","exploited":false,"provenance":"source"}}