Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory, for example "../../../etc/passwd"
{
"binaries": [
{
"binary_version": "1.7.0+dfsg-3ubuntu2",
"binary_name": "libonnx-testdata"
},
{
"binary_version": "1.7.0+dfsg-3ubuntu2",
"binary_name": "libonnx1"
},
{
"binary_version": "1.7.0+dfsg-3ubuntu2",
"binary_name": "libonnxifi"
},
{
"binary_version": "1.7.0+dfsg-3ubuntu2",
"binary_name": "python3-onnx"
}
]
}