{"id":"CVE-2021-41207","published":"2021-11-05T21:50:10Z","modified":"2024-08-04T03:08:31Z","title":"Division by zero in `ParallelConcat`","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. In affected versions the implementation of `ParallelConcat` misses some input validation and can produce a division by 0. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00141,"percentile":0.03472,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/commit/f2c3931113eaafe9ef558faaddd48e00a6606235","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7v94-64hj-m82h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":0.69},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[">= 2.6.0, < 2.6.1",">= 2.5.0, < 2.5.2","< 2.4.4"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":[">=2.6.0, <2.6.1",">=2.5.0, <2.5.2","<2.4.4",">=2.7.0rc0, <2.7.0"],"patched":["2.6.1","2.5.2","2.4.4","2.7.0"],"from":["GHSA-7v94-64hj-m82h","PYSEC-2021-399"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.4.4",">=2.5.0, <2.5.2",">=2.6.0, <2.6.1",">=2.7.0rc0, <2.7.0"],"patched":["2.4.4","2.5.2","2.6.1","2.7.0"],"from":["GHSA-7v94-64hj-m82h","PYSEC-2021-616"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.4.4",">=2.5.0, <2.5.2",">=2.6.0, <2.6.1",">=2.7.0rc0, <2.7.0"],"patched":["2.4.4","2.5.2","2.6.1","2.7.0"],"from":["GHSA-7v94-64hj-m82h","PYSEC-2021-814"],"provenance":"source"}],"summary":{"text":"The division-by-zero flaw lies in the ParallelConcat operation of TensorFlow, where missing input validation in the implementation can trigger a division by zero. An attacker with local access and low privileges, acting without any user interaction, can crash the process to cause a denial of service, with the attack complexity low.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:58Z"},"euvd":{"id":"EUVD-2021-0429","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-41207","children":[{"from":"CVE-2021-41207","to":"CVE-2023-25676","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/inplace_ops.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/f2c3931113eaafe9ef558faaddd48e00a6606235","https://github.com/tensorflow/tensorflow/commit/9de11bdc2cf1284b2f635419bd3e6bbc7643eb2c","https://github.com/tensorflow/tensorflow/commit/da66bc6d5ff466aee084f9e7397980a24890cd15"],"basis":"shared function","functions":["ParallelConcatUpdate"]}]}]}}