Skip to main content
Network Thinking Solutions Logo

CVE-2022-35952

CHECK failures in UnbatchGradOp in TensorFlow

All CVEs
CVE-2022-35952Published 9/16/2022

CHECK failures in UnbatchGradOp in TensorFlow

Vendor advisory
CVSS7.5High

Overview

TensorFlow is an open source platform for machine learning. The `UnbatchGradOp` function takes an argument `id` that is assumed to be a scalar. A nonscalar `id` can trigger a `CHECK` failure and crash the program. It also requires its argument `batch_index` to contain three times the number of elements as indicated in its `batch_index.dim_size(0)`. An incorrect `batch_index` can trigger a `CHECK` failure and crash the program. We have patched the issue in GitHub commit 5f945fc6409a3c1e90d6970c9292f805f6e6ddf2. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.

Published
9/16/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
tensorflow
google
≥ 2.7.0, < 2.7.2

Verify advisory

Source
tensorflow
google
≥ 2.8.0, < 2.8.1

Verify advisory

Source
tensorflow
google
≥ 2.9.0, < 2.9.1

Verify advisory

Source
tensorflow
google
2.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
tensorflow
tensorflow
< 2.7.2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
tensorflow
tensorflow
>= 2.8.0, < 2.8.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
tensorflow
tensorflow
>= 2.9.0, < 2.9.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.