—
PYSEC-2023-38
상세
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"
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
PyPI / onnx
최초 영향 버전:
0 수정 버전: f369b0e859024095d721f1d1612da5a8fa38988d 수정
pip install --upgrade 'onnx>=f369b0e859024095d721f1d1612da5a8fa38988d' 참고
- https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856 [WEB]
- https://github.com/onnx/onnx/issues/3991 [REPORT]
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 [WEB]
- https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129 [WEB]
- https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d [FIX]
- https://github.com/onnx/onnx/pull/4400 [WEB]