PYSEC-2024-222
At a glance
- Published
- Updated
- CVE
- CVE-2024-27318
- Aliases
- GHSA-whh8-fjgc-qp73
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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.
Affected packages
| Package | Versions |
|---|---|
| PyPI · onnx | introduced 0, fixed 66b7fb630903fdcf3e83b6b6d56d82e904264a20, fixed 66b7fb630903fdcf3e83b6b6d56d82e904264a20 ; introduced 0, fixed 1.16.0 |
References
- https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20 FIX
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/ WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/ WEB
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 WEB
- https://github.com/advisories/GHSA-whh8-fjgc-qp73 ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |