ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| onnx | onnx | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Onnx | Onnx |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-m4pr-6v3c-6fgr | ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.131% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Onnx
Onnx onnx |
|
| Vendors & Products |
Onnx
Onnx onnx |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.4.0 until 1.22.0, ScanInferenceFunction, ScanInferenceFunction_opset8, and ScanInferenceFunction_opset9 do not safely validate the required num_scan_inputs attribute. A missing attribute is dereferenced as a null pointer, while a negative value is converted to size_t and can reach an exceptional oversized allocation path. An untrusted model can therefore terminate or disrupt shape inference, including a negative-value model that can pass onnx.checker.check_model(). This issue is fixed in version 1.22.0. | |
| Title | ONNX: Null Pointer Dereference in ScanInferenceFunction Due to Missing Required Attribute | |
| Weaknesses | CWE-195 CWE-476 |
|
| References |
| |
| Metrics |
cvssV3_1
|