CVE-2022-35997
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, was found to contain a vulnerability (CVE-2022-35997) where if tf.sparse.cross receives an input separator that is not a scalar, it triggers a CHECK fail that can lead to a denial of service attack. The vulnerability was discovered by Kang Hong Jin and was patched in TensorFlow versions 2.7.4, 2.8.3, 2.9.2, and 2.10.0 (GitHub Advisory).

Technical details

The vulnerability exists in the tf.sparse.cross function implementation where the input parameter separator was not properly validated to ensure it was a scalar value. The issue was assigned a CVSS v3.1 base score of 7.5 (HIGH) by NVD with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, while GitHub assessed it as 5.9 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified under CWE-617 (Reachable Assertion) (NVD).

Impact

When exploited, this vulnerability can be used to trigger a denial of service attack by causing the application to crash through a CHECK failure when providing a non-scalar separator input to the tf.sparse.cross function (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in GitHub commit 83dcb4dbfa094e33db084e97c4d0531a559e0ebf and included in TensorFlow versions 2.7.4, 2.8.3, 2.9.2, and 2.10.0. Users should upgrade to these patched versions. No known workarounds were available for this issue prior to the patch (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

GHSA-5882-5rx9-xgxpCRITICAL10
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
GHSA-vx9w-5cx4-9796HIGH8.6
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • pyasn1
NoYesJan 16, 2026
CVE-2026-23528MEDIUM5.3
  • PythonPython
  • distributed
NoYesJan 16, 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