CVE-2022-36012
TensorFlow vulnerable to assertion fail on MLIR empty edge names
Overview
Description
TensorFlow is an open source platform for machine learning. When mlir::tfg::ConvertGenericFunctionToFunctionDef is given empty function attributes, it crashes. We have patched the issue in GitHub commit ad069af92392efee1418c48ff561fd3070a03d7b. 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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-617
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tensorflow | <2.7.2>=2.8.0, <2.8.1>=2.9.0, <2.9.1 | 2.7.22.8.12.9.1 |
| PyPI | tensorflow | <2.7.2>=2.8.0, <2.8.1>=2.9.0, <2.9.1 | 2.7.22.8.12.9.1 |
| PyPI | tensorflow-cpu | <2.7.2>=2.8.0, <2.8.1>=2.9.0, <2.9.1 | 2.7.22.8.12.9.1 |
| PyPI | tensorflow-gpu | <2.7.2>=2.8.0, <2.8.1>=2.9.0, <2.9.1 | 2.7.22.8.12.9.1 |
Open a package to see all its vulnerabilities.
Operating systems · 1 fix
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tensorflow-lite +1 | 2.10.0-1.1 | openSUSE-SU-2024:12355-1 |
References
- github.com https://github.com/tensorflow/tensorflow
- github.com https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ir/importexport/functiondef_import.cc
- github.com https://github.com/tensorflow/tensorflow/commit/ad069af92392efee1418c48ff561fd3070a03d7b
- github.com https://github.com/tensorflow/tensorflow/releases/tag/v2.10.0
- github.com https://github.com/tensorflow/tensorflow/security/advisories/GHSA-jvhc-5hhr-w3v5
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-36012
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.