Summary
CHECK failure in SobolSample via missing validation
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by:
- Kang Hong Jin from Singapore Management University
- Neophytos Christou, Secure Systems Labs, Brown University
- 刘力源, Information System & Security and Countermeasures Experiments Center, Beijing Institute of Technology
- Pattarakrit Rattankul
Impact
Another instance of CVE-2022-35935, where SobolSample is vulnerable to a denial of service via assumed scalar inputs, was found and fixed.
import tensorflow as tf
tf.raw_ops.SobolSample(dim=tf.constant([1,0]), num_results=tf.constant([1]), skip=tf.constant([1]))
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
We have patched the issue in GitHub commits c65c67f88ad770662e8f191269a907bf2b94b1bf and 02400ea266bd811fc016a848445de1bbff3a23a0
The fix will be included in TensorFlow 2.11. We will also cherrypick both commits on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range. TensorFlow 2.7.4 will have the first commit cherrypicked.
Frequently Asked Questions
- What is GHSA-CQVQ-FVHR-V6HC? GHSA-CQVQ-FVHR-V6HC is a low-severity security vulnerability in tensorflow (pip), affecting versions < 2.8.4. It is fixed in 2.8.4, 2.9.3, 2.10.1.
- Which packages are affected by GHSA-CQVQ-FVHR-V6HC?
tensorflow(pip) (versions < 2.8.4)tensorflow-cpu(pip) (versions < 2.8.4)tensorflow-gpu(pip) (versions < 2.8.4)
- Is there a fix for GHSA-CQVQ-FVHR-V6HC? Yes. GHSA-CQVQ-FVHR-V6HC is fixed in 2.8.4, 2.9.3, 2.10.1. Upgrade to this version or later.
- Is GHSA-CQVQ-FVHR-V6HC exploitable, and should I be worried? Whether GHSA-CQVQ-FVHR-V6HC is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether GHSA-CQVQ-FVHR-V6HC is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix GHSA-CQVQ-FVHR-V6HC?
- Upgrade
tensorflowto 2.8.4 or later - Upgrade
tensorflowto 2.9.3 or later - Upgrade
tensorflowto 2.10.1 or later - Upgrade
tensorflow-cputo 2.8.4 or later - Upgrade
tensorflow-gputo 2.8.4 or later - Upgrade
tensorflow-cputo 2.9.3 or later - Upgrade
tensorflow-gputo 2.9.3 or later - Upgrade
tensorflow-cputo 2.10.1 or later - Upgrade
tensorflow-gputo 2.10.1 or later
- Upgrade