CVE-2022-35988
published 2022-09-16CVE-2022-35988: TensorFlow is an open source platform for machine learning. When `tf.linalg.matrix_rank` receives an empty input `a`, the GPU kernel gives a `CHECK` fail that…
PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.42%
34.4th percentile
TensorFlow is an open source platform for machine learning. When `tf.linalg.matrix_rank` receives an empty input `a`, the GPU kernel gives a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260a. 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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | tensorflow | — | — |
| tensorflow | < 2.7.2 | 2.7.2 | |
| tensorflow | — | — | |
| tensorflow | >= 2.8.0 < 2.8.1 | 2.8.1 | |
| tensorflow | >= 2.9.0 < 2.9.1 | 2.9.1 | |
| intel | optimization_for_tensorflow | >= 0 < 2.7.2 | 2.7.2 |
| intel | optimization_for_tensorflow | >= 2.8.0 < 2.8.1 | 2.8.1 |
| intel | optimization_for_tensorflow | >= 2.9.0 < 2.9.1 | 2.9.1 |
| tensorflow | tensorflow | < 2.7.2 | 2.7.2 |
| tensorflow | tensorflow | — | — |
| tensorflow | tensorflow | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vendor_debian5.9LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
TensorFlow vulnerable to `CHECK` fail in `tf.linalg.matrix_rank`
osv·2022-09-16
CVE-2022-35988 [MEDIUM] TensorFlow vulnerable to `CHECK` fail in `tf.linalg.matrix_rank`
TensorFlow vulnerable to `CHECK` fail in `tf.linalg.matrix_rank`
### Impact
When `tf.linalg.matrix_rank` receives an empty input `a`, the GPU kernel gives a `CHECK` fail that can be used to trigger a denial of service attack.
```python
import tensorflow as tf
a = tf.constant([], shape=[0, 1, 1], dtype=tf.float32)
tf.linalg.matrix_rank(a=a)
```
### Patches
We have patched the issue in GitHub commit [c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260a](https://github.com/tensorflow/tensorflow/commit/c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260a).
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.
### For more information
Please consult [our security guid
GHSA
TensorFlow vulnerable to `CHECK` fail in `tf.linalg.matrix_rank`
ghsa·2022-09-16
CVE-2022-35988 [MEDIUM] CWE-617 TensorFlow vulnerable to `CHECK` fail in `tf.linalg.matrix_rank`
TensorFlow vulnerable to `CHECK` fail in `tf.linalg.matrix_rank`
### Impact
When `tf.linalg.matrix_rank` receives an empty input `a`, the GPU kernel gives a `CHECK` fail that can be used to trigger a denial of service attack.
```python
import tensorflow as tf
a = tf.constant([], shape=[0, 1, 1], dtype=tf.float32)
tf.linalg.matrix_rank(a=a)
```
### Patches
We have patched the issue in GitHub commit [c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260a](https://github.com/tensorflow/tensorflow/commit/c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260a).
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.
### For more information
Please consult [our security guid
Debian
CVE-2022-35988: tensorflow - TensorFlow is an open source platform for machine learning. When `tf.linalg.matr...
vendor_debian·2022·CVSS 5.9
CVE-2022-35988 [MEDIUM] CVE-2022-35988: tensorflow - TensorFlow is an open source platform for machine learning. When `tf.linalg.matr...
TensorFlow is an open source platform for machine learning. When `tf.linalg.matrix_rank` receives an empty input `a`, the GPU kernel gives a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260a. 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.
Scope: local
forky: resolved
sid: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/tensorflow/tensorflow/commit/c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260ahttps://github.com/tensorflow/tensorflow/security/advisories/GHSA-9vqj-64pv-w55chttps://github.com/tensorflow/tensorflow/commit/c55b476aa0e0bd4ee99d0f3ad18d9d706cd1260ahttps://github.com/tensorflow/tensorflow/security/advisories/GHSA-9vqj-64pv-w55c
2022-09-16
Published