{"id":"CVE-2020-15199","aliases":["CVE-2020-15199","GHSA-x5cp-9pcf-pp3h","BIT-TENSORFLOW-2020-15199","PYSEC-2020-122","PYSEC-2020-279","PYSEC-2020-314"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service in Tensorflow","summary":"In Tensorflow before version 2.3.1, the `RaggedCountSparseOutput` does not validate that the input arguments form a valid ragged tensor. In particular, there is no validation that the `splits` tensor has the minimum required number of elements. Code uses this quantity to initialize a different data structure. Since `BatchedMap` is equivalent to a vector, it needs to have at least one element to not be `nullptr`. If user passes a `splits` tensor that is empty or has exactly one element, we get a `SIGABRT` signal raised by the operating system. The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and is released in TensorFlow version 2.3.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Tensorflow before version 2.3.1, the `RaggedCountSparseOutput` does not validate that the input arguments form a valid ragged tensor. In particular, there is no validation that the `splits` tensor has the minimum required number of elements. Code uses this quantity to initialize a different data structure. Since `BatchedMap` is equivalent to a vector, it needs to have at least one element to not be `nullptr`. If user passes a `splits` tensor that is empty or has exactly one element, we get a `SIGABRT` signal raised by the operating system. The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and is released in TensorFlow version 2.3.1.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe `RaggedCountSparseOutput` does not validate that the input arguments form a valid ragged tensor. In particular, there is no validation that the `splits` tensor has the minimum required number of elements. Code uses this quantity to initialize a different data structure:\nhttps://github.com/tensorflow/tensorflow/blob/0e68f4d3295eb0281a517c3662f6698992b7b2cf/tensorflow/core/kernels/count_ops.cc#L241-L244\n\nSince `BatchedMap` is equivalent to a vector, it needs to have at least one element to not be `nullptr`. If user passes a `splits` tensor that is empty or has exactly one element, we get a `SIGABRT` signal raised by the operating system.\n\n### Patches\nWe have patched the issue in 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and will release a patch release.\n\nWe recommend users to upgrade to TensorFlow 2.3.1.\n\n### For more information\nPlease consult [our security guide](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) for more information regarding the security model and how to contact us with issues and questions.\n\n### Attribution\nThis vulnerability is a variant of [GHSA-p5f8-gfw5-33w4](https://github.com/tensorflow/tensorflow/security/advisories/GHSA-p5f8-gfw5-33w4)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Tensorflow anteriores a la versión 2.3.1, \"RaggedCountSparseOutput\" no comprueba que los argumentos de entrada formen un tensor irregular válido.&#xa0;En particular, no existe comprobación de que el tensor \"splits\" tenga el número mínimo requerido de elementos.&#xa0;El código usa esta cantidad para inicializar una estructura de datos diferente.&#xa0;Dado que \"BatchedMap\" es equivalente a un vector, necesita tener al menos un elemento para que no sea \"nullptr\".&#xa0;Si el usuario pasa un tensor \"splits\" que se encuentra vacío o tiene exactamente un elemento, obtenemos una señal \"SIGABRT\" generada por el sistema operativo.&#xa0;El problema es parcheado en el commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 y es publicado en TensorFlow versión 2.3.1","source":"nvd"}],"published":"2020-09-25T18:28:24.000Z","modified":"2026-09-08T08:48:19.851Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"= 2.3.0","status":"affected"}],"vendor":"tensorflow","product":"tensorflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.1"}],"ecosystem":"PyPI","package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.1"}],"ecosystem":"PyPI","package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.1"}],"ecosystem":"PyPI","package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.3.0"}],"vendor":"google","product":"tensorflow","cpe":"cpe:2.3:a:google:tensorflow:2.3.0:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3cbb917b4714766030b28eba9fb41bb97ce9ee02"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.1"}],"ecosystem":"PyPI","package":"tensorflow","purl":"pkg:pypi/tensorflow","repo":"https://github.com/tensorflow/tensorflow","source":"pysec"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3cbb917b4714766030b28eba9fb41bb97ce9ee02"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.1"}],"ecosystem":"PyPI","package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","repo":"https://github.com/tensorflow/tensorflow","source":"pysec"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3cbb917b4714766030b28eba9fb41bb97ce9ee02"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.1"}],"ecosystem":"PyPI","package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","repo":"https://github.com/tensorflow/tensorflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.3.0","status":"affected","fixed":"2.3.1"}],"ecosystem":"Bitnami","package":"tensorflow","purl":"pkg:bitnami/tensorflow","source":"bitnami"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/tensorflow/tensorflow/commit/3cbb917b4714766030b28eba9fb41bb97ce9ee02","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-x5cp-9pcf-pp3h","tags":["advisory","exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15199","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-279.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-314.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-122.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/tensorflow/tensorflow","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15199","url":"https://www.cve.org/CVERecord?id=CVE-2020-15199","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:22.934Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x5cp-9pcf-pp3h","url":"https://github.com/advisories/GHSA-x5cp-9pcf-pp3h","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:07.989Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15199","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15199","licence":"Public domain","modified":"2026-06-17T02:56:14.983Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-122","url":"https://osv.dev/vulnerability/PYSEC-2020-122","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:16.575Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-279","url":"https://osv.dev/vulnerability/PYSEC-2020-279","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:16.575Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-314","url":"https://osv.dev/vulnerability/PYSEC-2020-314","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:16.575Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TENSORFLOW-2020-15199","url":"https://osv.dev/vulnerability/BIT-TENSORFLOW-2020-15199","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.851Z"}],"updatedAt":"2026-11-25T22:57:54.949Z","epss":{"score":0.00812,"percentile":0.58119,"date":"2026-12-01T12:00:22.000Z"}}