Null-dereference in `mlir::tfg::GraphDefImporter::ConvertNodeDef` in TensorFlow
tensorflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
tensorflow
| Product | Affected | Fixed in |
|---|---|---|
| tensorflow PyPI |
|
|
| tensorflow-cpu PyPI |
|
≥ 2.8.0 · < 2.8.1≥ 2.9.0 · < 2.9.1
|
| tensorflow-gpu PyPI |
|
|
TensorFlow is an open source platform for machine learning. When `mlir::tfg::GraphDefImporter::ConvertNodeDef` tries to convert NodeDefs without an op name, it crashes. We have patched the issue in GitHub commit a0f0b9a21c9270930457095092f558fbad4c03e5. 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.
From the CVE record · GitHub_M
TensorFlow's GraphDefImporter crashes when it converts a NodeDef without an op name, potentially causing a denial of service. The input does not specify how an attacker could supply such a NodeDef or whether network access, authentication, or user interaction is required.
Teams running PyPI tensorflow, tensorflow-cpu, or tensorflow-gpu versions below 2.7.2, 2.8.0 through 2.8.0, or 2.9.0 through 2.9.0 should check their installations.