{"id":"CVE-2020-15207","published":"2020-09-25T18:45:46Z","modified":"2024-08-04T13:08:22Z","title":"Segfault and data corruption in tensorflow-lite","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, to mimic Python's indexing with negative values, TFLite uses `ResolveAxis` to convert negative values to positive indices. However, the only check that the converted index is now valid is only present in debug builds. If the `DCHECK` does not trigger, then code execution moves ahead with a negative index. This, in turn, results in accessing data out of bounds which results in segfaults and/or data corruption. The issue is patched in commit 2d88f470dea2671b430884260f3626b1fe99830a, 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.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01243,"percentile":0.69977,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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-q4qf-3fc6-8x34","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/2d88f470dea2671b430884260f3626b1fe99830a","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":14.0},{"name":"CVSS severity","points":6.09}]},"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-q4qf-3fc6-8x34","PYSEC-2020-130"],"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-q4qf-3fc6-8x34","PYSEC-2020-287"],"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-q4qf-3fc6-8x34","PYSEC-2020-322"],"provenance":"source"}],"summary":{"text":"A flaw in TensorFlow Lite's ResolveAxis routine, which converts negative axis indices to positive ones, leaves the validity check for the converted index only in debug builds, so release builds can use a negative index and read or write out of bounds. An attacker able to supply input that drives a negative axis value through this path, with no authentication or user interaction required and only network reachability of the affected TensorFlow component, can cause segfaults and data corruption.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:32Z"},"euvd":{"id":"EUVD-2020-0203","exploited":false,"provenance":"source"}}