CVE-2022-23589
Last modified
CVE-2022-23589 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow can trigger a null pointer dereference. EPSS estimates a 1.08% chance of exploitation in the next 30 days.
Description
Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow can trigger a null pointer dereference. There are 2 places where this can occur, for the same malicious alteration of a `SavedModel` file (fixing the first one would trigger the same dereference in the second place). First, during constant folding, the `GraphDef` might not have the required nodes for the binary operation. If a node is missing, the correposning `mul_*child` would be null, and the dereference in the subsequent line would be incorrect. We have a similar issue during `IsIdentityConsumingSwitch`. 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tensorflow | <= 2.5.2 | |
| Tensorflow | >= 2.6.0, <= 2.6.2 | |
| Tensorflow | 2.7.0 |
References
- https://github.com/tensorflow/tensorflow/commit/045deec1cbdebb27d817008ad5df94d96a08b1bfPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/0a365c029e437be0349c31f8d4c9926b69fa3fa1Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9px9-73fg-3fqpPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/045deec1cbdebb27d817008ad5df94d96a08b1bfPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/0a365c029e437be0349c31f8d4c9926b69fa3fa1Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9px9-73fg-3fqpPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-23589?
How severe is CVE-2022-23589?
How do I fix CVE-2022-23589?
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-23583Tensorflow is an Open Source Machine Learning Framework. A m…6.5
- CVE-2022-23584Tensorflow is an Open Source Machine Learning Framework. A m…6.5
- CVE-2022-23585Tensorflow is an Open Source Machine Learning Framework. Whe…6.5
- CVE-2022-23586Tensorflow is an Open Source Machine Learning Framework. A m…6.5
- CVE-2022-23587Tensorflow is an Open Source Machine Learning Framework. Und…9.8
- CVE-2022-23588Tensorflow is an Open Source Machine Learning Framework. A m…6.5
- CVE-2022-23590Tensorflow is an Open Source Machine Learning Framework. A `…7.5
- CVE-2022-23591Tensorflow is an Open Source Machine Learning Framework. The…7.5
- CVE-2022-23592Tensorflow is an Open Source Machine Learning Framework. Ten…8.1
- CVE-2022-23593Tensorflow is an Open Source Machine Learning Framework. The…7.5
- CVE-2022-23594Tensorflow is an Open Source Machine Learning Framework. The…5.5
- CVE-2022-23595Tensorflow is an Open Source Machine Learning Framework. Whe…6.5
Are you affected by CVE-2022-23589?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
