CVE-2024-27318Linuxfoundation Onnx
High 7.5 No auth needed
Follow: this CVE · Linuxfoundation · Linuxfoundation Onnx We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Feb 23, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Onnx.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | onnx |
< 1.16.0 |
1.16.0 |
pip install "onnx>=1.16.0" |
| PyPI | onnx |
< 1.16.0 |
1.16.0 |
pip install "onnx>=1.16.0" |
Per OSV / GitHub Advisories (GHSA-whh8-fjgc-qp73, PYSEC-2024-222). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | onnx | < 1.16.0 |
| fedoraproject | fedora | 39 |
| fedoraproject | fedora | 40 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- security.snyk.io Product