Vulnerability Details : CVE-2022-35997
TensorFlow is an open source platform for machine learning. If `tf.sparse.cross` receives an input `separator` that is not a scalar, it gives a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 83dcb4dbfa094e33db084e97c4d0531a559e0ebf. 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.
Vulnerability category: Denial of service
Products affected by CVE-2022-35997
- cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.10:rc1:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.10:rc2:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.10:rc3:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.10:rc0:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-35997
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 34 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-35997
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
2.2
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2022-35997
-
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-35997
-
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-p7hr-f446-x6qf
`CHECK` fail in `tf.sparse.cross` · Advisory · tensorflow/tensorflow · GitHubThird Party Advisory
-
https://github.com/tensorflow/tensorflow/commit/83dcb4dbfa094e33db084e97c4d0531a559e0ebf
Fix check failure in SparseCrossV2Op by adding check for scalar value… · tensorflow/tensorflow@83dcb4d · GitHubPatch;Third Party Advisory
Jump to