Bug 1220347 (CVE-2024-27318) - VUL-0: CVE-2024-27318: python-onnx: path sanitization bypass leads to arbitrary file read
Summary: VUL-0: CVE-2024-27318: python-onnx: path sanitization bypass leads to arbitra...
Status: NEW
Alias: CVE-2024-27318
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Guillaume GARDET
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/395000/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-26 11:07 UTC by SMASH SMASH
Modified: 2024-02-26 11:15 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-26 11:07:43 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-27318
https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479
https://www.cve.org/CVERecord?id=CVE-2024-27318
https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20
https://bugzilla.redhat.com/show_bug.cgi?id=2265737