CVE-2022-35940
MEDIUMDescription
TensorFlow is an open source platform for machine learning. The `RaggedRangOp` function takes an argument `limits` that is eventually used to construct a `TensorShape` as an `int64`. If `limits` is a very large float, it can overflow when converted to an `int64`. This triggers an `InvalidArgument` but also throws an abort signal that crashes the program. We have patched the issue in GitHub commit 37cefa91bee4eace55715eeef43720b958a01192. 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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 42% of all known CVEs.
References
Related Vulnerabilities
Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2020-16040 | Medium | 6.5 | 100% | - | Fix |
| CVE-2019-11477 | High | 7.5 | 99% | - | Fix |
| CVE-2023-44443 | High | 7.8 | 94% | - | Fix |
| CVE-2014-0569 | High | 9.3 | 90% | - | - |
| CVE-2017-3599 | High | 7.5 | 90% | - | Fix |
| CVE-2023-21716 | Critical | 9.8 | 82% | - | Fix |
Embed a live status badge for CVE-2022-35940
Markdown
[](https://tridentstack.com/cve/CVE-2022-35940)HTML
<a href="https://tridentstack.com/cve/CVE-2022-35940"><img src="https://tridentstack.com/cve/badge/CVE-2022-35940.svg" alt="CVE-2022-35940"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.