CVE-2024-27318
HIGH 7.5CVSS 3.1Onnx Directory Traversal vulnerability
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.
- Published
- 23 Feb 2024
- Last modified
- 10 Sep 2026
- Assigned by
- 6f8de1f0-f67e-45a6-b68f-98777fdb759c
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-whh8-fjgc-qp73PYSEC-2024-222
- Sources
- NVDJSONOSV GHSA-whh8-fjgc-qp73JSONOSV PYSEC-2024-222JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6f8de1f0-f67e-45a6-b68f-98777fdb759c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | onnxcpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:* |
< 1.16.0 | 1.16.0 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* |
= 39 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
= 40 | |
| OSV | PyPI | onnx | < 1.16.0 | 1.16.0 |
References
- https://github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20 · Patch, WEB, FIX
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FGTBH5ZYL2LGYHIJDHN2MAUURIR5E7PY/ · Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFJJID2IZDOLFDMWVYTBDI75ZJQC6JOL/ · Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479 · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-27318 · ADVISORY
- https://github.com/onnx/onnx · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2024-222.yaml · WEB
- https://github.com/advisories/GHSA-whh8-fjgc-qp73 · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 23 Feb 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Feb 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Feb 2024)