CVE-2022-35935
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, disclosed a vulnerability (CVE-2022-35935) in the implementation of SobolSampleOp. The vulnerability was discovered in July 2022 and affects versions prior to 2.10.0. The issue stems from a denial of service vulnerability via CHECK-failure (assertion failure) caused by assuming input(0), input(1), and input(2) to be scalar (GitHub Advisory, CVE Mitre).

Technical details

The vulnerability exists in the SobolSampleOp implementation where the code fails to properly validate input tensors. The issue can be triggered by passing non-scalar tensors to the operation, for example: tf.raw_ops.SobolSample(dim=tf.constant([1,0]), num_results=tf.constant([1]), skip=tf.constant([1])). The vulnerability was assigned a Low severity rating (GitHub Advisory).

Impact

When exploited, this vulnerability can lead to a denial of service condition through assertion failure in the TensorFlow system (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in GitHub commit c65c67f88ad770662e8f191269a907bf2b94b1bf and included in TensorFlow 2.10.0. The fix was also backported to TensorFlow 2.9.1, 2.8.1, and 2.7.2. Users are advised to upgrade to these patched versions. No workarounds were available for this vulnerability (GitHub Advisory).

Community reactions

The vulnerability was responsibly disclosed and identified by researchers from multiple institutions including Kang Hong Jin from Singapore Management University, Neophytos Christou from Secure Systems Labs, Brown University, and 刘力源 from Information System & Security and Countermeasures Experiments Center, Beijing Institute of Technology (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21441HIGH8.9
  • PythonPython
  • urllib3
NoYesJan 07, 2026
CVE-2026-21851MEDIUM5.3
  • PythonPython
  • monai
NoNoJan 07, 2026
GHSA-f2mf-q878-gh58MEDIUM5.3
  • PythonPython
  • parsl
NoYesJan 06, 2026
CVE-2026-21883MEDIUM4.5
  • PythonPython
  • bokeh
NoYesJan 08, 2026
CVE-2026-22041LOW2
  • PythonPython
  • loggingredactor
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management