CVE-2022-35952
Last modified
CVE-2022-35952 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. TensorFlow is an open source platform for machine learning. The `UnbatchGradOp` function takes an argument `id` that is assumed to be a scalar. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Tensorflow | >= 2.7.0, < 2.7.2 | — | |
| Tensorflow | >= 2.8.0, < 2.8.1 | — | |
| Tensorflow | >= 2.9.0, < 2.9.1 | — | |
| Tensorflow | 2.10 | Rc0 |
References
- https://github.com/tensorflow/tensorflow/commit/5f945fc6409a3c1e90d6970c9292f805f6e6ddf2Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-h5vq-gw2c-pq47Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/5f945fc6409a3c1e90d6970c9292f805f6e6ddf2Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-h5vq-gw2c-pq47Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-35952?
How severe is CVE-2022-35952?
How do I fix CVE-2022-35952?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-35947GLPI stands for Gestionnaire Libre de Parc Informatique and …9.8
- CVE-2022-35948undici is an HTTP/1.1 client, written from scratch for Node.…5.3
- CVE-2022-35949undici is an HTTP/1.1 client, written from scratch for Node.…9.8
- CVE-2022-3595A vulnerability was found in Linux Kernel. It has been rated…5.5
- CVE-2022-35950OroCommerce is an open-source Business to Business Commerce …4.8
- CVE-2022-35951Redis is an in-memory database that persists on disk. Versio…9.8
- CVE-2022-35953BookWyrm is a social network for tracking your reading, talk…6.1
- CVE-2022-35954The GitHub Actions ToolKit provides a set of packages to mak…5
- CVE-2022-35956This Rails gem adds two methods to the ActiveRecord::Base cl…9.8
- CVE-2022-35957Grafana is an open-source platform for monitoring and observ…6.6
- CVE-2022-35958Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-35959TensorFlow is an open source platform for machine learning. …7.5
Are you affected by CVE-2022-35952?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
