CVE-2021-41218

Source
https://cve.org/CVERecord?id=CVE-2021-41218
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41218.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-41218
Aliases
Downstream
Related
Published
2021-11-05T22:15:08Z
Modified
2026-08-03T11:57:15Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for AllToAll can be made to execute a division by 0. This occurs whenever the split_count argument is 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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "2.4.0"
                },
                {
                    "fixed": "2.4.4"
                },
                {
                    "introduced": "2.5.0"
                },
                {
                    "fixed": "2.5.2"
                },
                {
                    "introduced": "2.6.0"
                },
                {
                    "fixed": "2.6.1"
                }
            ],
            "source": "CPE_RANGE",
            "vendor_product": "google:tensorflow"
        },
        {
            "cpes": [
                "cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*",
                "cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "2.7.0-rc0"
                },
                {
                    "last_affected": "2.7.0-rc0"
                },
                {
                    "introduced": "2.7.0-rc1"
                },
                {
                    "last_affected": "2.7.0-rc1"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "google:tensorflow"
        }
    ]
}
References

Affected packages

Git / github.com/tensorflow/tensorflow

Affected ranges

Type
GIT
Repo
https://github.com/tensorflow/tensorflow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Affected versions

0.*
0.5.0
0.6.0
v1.*
v1.1.0-rc1
v1.1.0-rc2
v1.12.1
v1.6.0-rc1
v1.9.0-rc2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41218.json"