{"id":"CVE-2020-15192","published":"2020-09-25T18:40:56Z","modified":"2024-08-04T13:08:22Z","title":"Memory leak in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"In Tensorflow before versions 2.2.1 and 2.3.1, if a user passes a list of strings to `dlpack.to_dlpack` there is a memory leak following an expected validation failure. The issue occurs because the `status` argument during validation failures is not properly checked. Since each of the above methods can return an error status, the `status` value must be checked before continuing. The issue is patched in commit 22e07fb204386768e5bcbea563641ea11f96ceb8 and is released in TensorFlow versions 2.2.1, or 2.3.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00834,"percentile":0.58557,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/commit/22e07fb204386768e5bcbea563641ea11f96ceb8","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-8fxw-76px-3rxv","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":11.71},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["= 2.2.0","= 2.3.0"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":[">=2.2.0, <2.2.1",">=2.3.0, <2.3.1","<2.2.1",">=2.3.0rc0, <2.3.1"],"patched":["2.2.1","2.3.1"],"from":["GHSA-8fxw-76px-3rxv","PYSEC-2020-115"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":[">=2.2.0, <2.2.1",">=2.3.0, <2.3.1","<2.2.1",">=2.3.0rc0, <2.3.1"],"patched":["2.2.1","2.3.1"],"from":["GHSA-8fxw-76px-3rxv","PYSEC-2020-272"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":[">=2.2.0, <2.2.1",">=2.3.0, <2.3.1","<2.2.1",">=2.3.0rc0, <2.3.1"],"patched":["2.2.1","2.3.1"],"from":["GHSA-8fxw-76px-3rxv","PYSEC-2020-307"],"provenance":"source"}],"summary":{"text":"In TensorFlow, the flaw is a memory leak in the dlpack.to_dlpack function, where the status argument returned during validation failures is not checked before execution continues. An attacker who can supply a list of strings to dlpack.to_dlpack, which the attack vector indicates is reachable over the network with low complexity and requires low privileges and no user interaction, can trigger the leak, causing availability impact through resource exhaustion.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:47Z"},"euvd":{"id":"EUVD-2020-0188","exploited":false,"provenance":"source"}}