cve/2024/CVE-2024-27318.md

18 lines
932 B
Markdown
Raw Permalink Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-27318](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-27318)
![](https://img.shields.io/static/v1?label=Product&message=onnx&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%3D%201.15.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brighgreen)
### Description
Versions of the package onnx before and including 1.15.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. The vulnerability occurs as a bypass for the patch added for CVE-2022-25882.
### POC
#### Reference
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds