{"id":"CVE-2020-15191","published":"2020-09-25T18:41:01Z","modified":"2024-08-04T13:08:22Z","title":"Undefined behavior 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 an invalid argument to `dlpack.to_dlpack` the expected validations will cause variables to bind to `nullptr` while setting a `status` variable to the error condition. However, this `status` argument is not properly checked. Hence, code following these methods will bind references to null pointers. This is undefined behavior and reported as an error if compiling with `-fsanitize=null`. 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":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.009,"percentile":0.6052,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-476","name":"NULL Pointer Dereference"}],"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-q8qj-fc9q-cphr","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":12.1},{"name":"CVSS severity","points":3.71}]},"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-q8qj-fc9q-cphr","PYSEC-2020-114"],"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-q8qj-fc9q-cphr","PYSEC-2020-271"],"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-q8qj-fc9q-cphr","PYSEC-2020-306"],"provenance":"source"}],"summary":{"text":"The Tensorflow flaw lies in the dlpack.to_dlpack function of the tensorflow product: when given an invalid argument, the error status is not checked, so code that follows binds references to null pointers, which is undefined behavior. An attacker with network access and no privileges or user interaction can trigger this by supplying the invalid argument, with the practical effect limited to a crash or disruption of availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:22Z"},"euvd":{"id":"EUVD-2020-0187","exploited":false,"provenance":"source"}}