CVE-2022-41889: TensorFlow - Null Pointer Dereference
- Cve: CVE-2022-41889
- Name: TensorFlow - Null Pointer Dereference
- Description: TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a `nullptr`, which is not caught. An example can be seen in `tf.compat.v1.extract_volume_patches` by passing in quantized tensors as input `ksizes`. We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
- Impact: Potential denial of service or application crash due to null pointer dereference when handling quantized tensors.
- Remediation: Update to TensorFlow 2.11 or apply the patch from commit e9e95553e5411834d215e6770c81a83a3d0866ce in affected versions 2.10.1, 2.9.3, and 2.8.4.
- Vulnerability type: null_pointer_dereference
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00561
- Epss percentile: 0.47528
- Assignee: [email protected]
- Published at: 2022-11-18T22:15:15Z
- Age in days: 1467
- Modified at: 2026-06-17T05:04:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-41889
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-476 | NULL Pointer Dereference |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xxcj-rhqg-m46g | nvd | 2022-11-18 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/tensorflow/tensorflow/commit/e9e95553e5411834d215e6770c81a83a3d0866ce | Patch, Third Party Advisory |
| https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xxcj-rhqg-m46g | Exploit, Patch, Third Party Advisory |
| https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/generate_box_proposals_op.cu.cc | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:tensorflow | >= 2.10.0, < 2.10.1; >= 2.9.0, < 2.9.3; < 2.8.4 | no | nvd | /v1/products/google/tensorflow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tensorflow/tensorflow | commit, package, security_advisory | yes | /v1/repositories/tensorflow/tensorflow |
Index
- Repositories: 376
- Repositories high signal: 142
- Packages: 3
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-11-18
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts