{"id":"CVE-2022-23580","summary":"Abort caused by allocating a vector that is too large in Tensorflow","details":"Tensorflow is an Open Source Machine Learning Framework. During shape inference, TensorFlow can allocate a large vector based on a value from a tensor controlled by the user. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.","aliases":["BIT-tensorflow-2022-23580","GHSA-627q-g293-49q7","PYSEC-2022-144","PYSEC-2022-89"],"modified":"2026-04-02T07:49:48.522674Z","published":"2022-02-04T22:32:25Z","related":["openSUSE-SU-2024:12116-1"],"database_specific":{"cwe_ids":["CWE-400"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23580.json"},"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/framework/shape_inference.cc#L788-L790"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23580.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-627q-g293-49q7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23580"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/1361fb7e29449629e1df94d44e0427ebec8c83c7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"c256c071bb26e1e13b4666d1b3e229e110bc914a"},{"fixed":"2a0f59ecfe64d4e7750e406f00f783ff4bd34631"}],"database_specific":{"versions":[{"introduced":"2.7.0"},{"fixed":"2.7.1"}]}},{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"919f693420e35d00c8d0a42100837ae3718f7927"},{"fixed":"92a6bb06549e74a8bd8cdb8e28552496e5520007"}],"database_specific":{"versions":[{"introduced":"2.6.0"},{"fixed":"2.6.3"}]}},{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"959e9b2a0c06df945f9fb66bd367af8832ca0d28"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.5.3"}]}}],"versions":["0.12.0-rc0","0.12.0-rc1","0.12.1","0.5.0","0.6.0","tflite-v0.1.7","v0.10.0","v0.10.0rc0","v0.11.0","v0.11.0rc0","v0.11.0rc1","v0.11.0rc2","v0.12.0","v0.6.0","v0.7.0","v0.7.1","v0.8.0","v0.8.0rc0","v0.9.0","v0.9.0rc0","v1.0.0","v1.0.0-alpha","v1.0.0-rc0","v1.0.0-rc1","v1.0.0-rc2","v1.0.1","v1.1.0","v1.1.0-rc0","v1.1.0-rc1","v1.1.0-rc2","v1.10.0","v1.10.0-rc0","v1.10.0-rc1","v1.10.1","v1.11.0","v1.11.0-rc0","v1.11.0-rc1","v1.11.0-rc2","v1.12.0","v1.12.0-rc0","v1.12.0-rc1","v1.12.0-rc2","v1.12.1","v1.12.2","v1.12.3","v1.13.0-rc0","v1.13.0-rc1","v1.13.0-rc2","v1.13.1","v1.13.2","v1.14.0","v1.14.0-rc0","v1.14.0-rc1","v1.15.0","v1.15.0-rc0","v1.15.0-rc1","v1.15.0-rc2","v1.15.0-rc3","v1.15.2","v1.15.3","v1.15.4","v1.15.5","v1.2.0","v1.2.0-rc0","v1.2.0-rc1","v1.2.0-rc2","v1.2.1","v1.3.0","v1.3.0-rc0","v1.3.0-rc1","v1.3.0-rc2","v1.3.1","v1.4.0","v1.4.0-rc0","v1.4.0-rc1","v1.4.1","v1.5.0","v1.5.0-rc0","v1.5.0-rc1","v1.5.1","v1.6.0","v1.6.0-rc0","v1.6.0-rc1","v1.7.0","v1.7.0-rc0","v1.7.0-rc1","v1.7.1","v1.8.0","v1.8.0-rc0","v1.8.0-rc1","v1.9.0","v1.9.0-rc0","v1.9.0-rc1","v1.9.0-rc2","v2.0.0","v2.0.0-alpha0","v2.0.0-beta0","v2.0.0-beta1","v2.0.0-rc0","v2.0.0-rc1","v2.0.0-rc2","v2.0.1","v2.0.2","v2.0.3","v2.0.4","v2.1.0","v2.1.0-rc0","v2.1.0-rc1","v2.1.0-rc2","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.10.0","v2.10.0-rc0","v2.10.0-rc1","v2.10.0-rc2","v2.10.0-rc3","v2.10.1","v2.11.0","v2.11.0-rc0","v2.11.0-rc1","v2.11.0-rc2","v2.11.1","v2.12.0","v2.12.0-rc0","v2.12.0-rc1","v2.12.1","v2.13.0","v2.13.0-rc0","v2.13.0-rc1","v2.13.0-rc2","v2.13.1","v2.14.0","v2.14.0-rc0","v2.14.0-rc1","v2.14.1","v2.15.0","v2.15.0-rc0","v2.15.0-rc1","v2.15.1","v2.16.0-rc0","v2.16.1","v2.16.2","v2.17.0","v2.17.0-rc0","v2.17.0-rc1","v2.17.1","v2.18.0","v2.18.0-rc0","v2.18.0-rc1","v2.18.0-rc2","v2.18.1","v2.19.0","v2.19.0-rc0","v2.19.1","v2.2.0","v2.2.0-rc0","v2.2.0-rc1","v2.2.0-rc2","v2.2.0-rc3","v2.2.0-rc4","v2.2.1","v2.2.2","v2.2.3","v2.20.0","v2.20.0-rc0","v2.21.0","v2.21.0-rc0","v2.21.0-rc1","v2.3.0","v2.3.0-rc0","v2.3.0-rc1","v2.3.0-rc2","v2.3.1","v2.3.2","v2.3.3","v2.3.4","v2.4.0","v2.4.0-rc0","v2.4.0-rc1","v2.4.0-rc2","v2.4.0-rc3","v2.4.0-rc4","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v2.5.0","v2.5.0-rc0","v2.5.0-rc1","v2.5.0-rc2","v2.5.0-rc3","v2.5.1","v2.5.2","v2.6.0","v2.6.0-rc0","v2.6.0-rc1","v2.6.0-rc2","v2.6.1","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.7.0","v2.7.0-rc0","v2.7.0-rc1","v2.7.1","v2.7.2","v2.7.3","v2.7.4","v2.8.0","v2.8.0-rc0","v2.8.0-rc1","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.9.0","v2.9.0-rc0","v2.9.0-rc1","v2.9.0-rc2","v2.9.1","v2.9.2","v2.9.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23580.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}