ONNX: Out-of-bounds read in ConvTranspose shape inference via undersized weight rank
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
Open Neural Network Exchange (ONNX) is an open standard for machine learning interoperability. From 1.2.1 until 1.22.0, ConvTranspose shape inference processes a weight tensor with fewer than three dimensions without a kernel_shape attribute by deriving an empty effective_kernel_shape and indexing it for the input's spatial dimensions. The flaw affects convTransposeShapeInference_opset11() and the current inference path, and an untrusted model that can pass onnx.checker.check_model() can crash onnx.shape_inference.infer_shapes(), causing denial of service without demonstrated confidentiality or integrity impact. This issue is fixed in version 1.22.0.
Text from CVE List
Affected versions 1
- onnxaffected: >= 1.2.1, < 1.22.0CVE List