Skip to content
Heist/ feed
Back to feed
Medium

`CHECK`-fails when building invalid tensor shapes in Tensorflow

Type: advisorySources: OSV

Tensorflow is an Open Source Machine Learning Framework. Multiple operations in TensorFlow can be used to trigger a denial of service via `CHECK`-fails (i.e., assertion failures). This is similar to TFSA-2021-198 and has similar fixes. We have patched the reported issues in multiple GitHub commits. It is possible that other similar instances exist in TensorFlow, we will issue fixes as these are discovered. 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-23569
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:25 UTC · Revision 1

Source evidence

`CHECK`-fails when building invalid tensor shapes in Tensorflow

core-osv · Original source

Published 3 Feb 2022, 12:47 UTC

Tensorflow is an Open Source Machine Learning Framework. Multiple operations in TensorFlow can be used to trigger a denial of service via `CHECK`-fails (i.e., assertion failures). This is similar to TFSA-2021-198 and has similar fixes. We have patched the reported issues in multiple GitHub commits. It is possible that other similar instances exist in TensorFlow, we will issue fixes as these are discovered. 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.

osv:CVE-2022-23569
Complete source record
{
  "id": "5c9f22725ac27833ef078eb3535a00cc48eb1907e76422cb0a8b9c3a5df38d1a",
  "url": "https://osv.dev/vulnerability/CVE-2022-23569",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "`CHECK`-fails when building invalid tensor shapes in Tensorflow",
    "summary": "Tensorflow is an Open Source Machine Learning Framework. Multiple operations in TensorFlow can be used to trigger a denial of service via `CHECK`-fails (i.e., assertion failures). This is similar to TFSA-2021-198 and has similar fixes. We have patched the reported issues in multiple GitHub commits. It is possible that other similar instances exist in TensorFlow, we will issue fixes as these are discovered. 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.",
    "evidence": "osv:CVE-2022-23569",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-23569",
      "aliases": [
        "BIT-tensorflow-2022-23569",
        "CVE-2022-23569",
        "GHSA-qj5r-f9mv-rffh",
        "PYSEC-2022-133",
        "PYSEC-2022-78",
        "PYSEC-2026-3230"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tensorflow/tensorflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "957590ea15cc03ee2e00fc61934647d54836676f"
                },
                {
                  "introduced": "919f693420e35d00c8d0a42100837ae3718f7927"
                },
                {
                  "last_affected": "c2363d6d025981c661f8cbecf4c73ca7fbf38caf"
                },
                {
                  "introduced": "c256c071bb26e1e13b4666d1b3e229e110bc914a"
                },
                {
                  "last_affected": "c256c071bb26e1e13b4666d1b3e229e110bc914a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.5.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.6.0"
                      },
                      {
                        "last_affected": "2.6.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.7.0"
                      },
                      {
                        "last_affected": "2.7.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.7.0",
            "v2.5.2",
            "v2.6.2",
            "v2.7.0",
            "v2.6.1",
            "v2.6.0",
            "v2.5.1",
            "v2.5.0",
            "v2.5.0-rc3",
            "v2.5.0-rc2",
            "v2.5.0-rc1",
            "v2.5.0-rc0",
            "v1.12.1",
            "v1.9.0-rc2",
            "v1.6.0-rc1",
            "v1.1.0-rc2",
            "v1.1.0-rc1",
            "0.6.0",
            "0.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23569.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.548456716Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23569.json",
        "https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2021-198.md",
        "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-qj5r-f9mv-rffh",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-23569"
      ],
      "provider_metadata": {
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23569.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-23569",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510274,
  "published_at": "2022-02-03T12:47:29+00:00"
}