PT-2026-79395 · Onnx · Onnx
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ONNX versions prior to 1.21.0
Description
The
save external data() function constructs an external-data file path using the external data location field and opens it for writing without using O NOFOLLOW or O EXCL flags, following a non-atomic os.path.isfile() check. A local attacker with write access to the directory where external data is serialized can create a symbolic link (symlink) that is followed by the application. This allows the attacker to cause the application to append data to any file the victim has permissions to write, such as application configurations, cron files, or ~/.ssh/authorized keys.Recommendations
Update to version 1.21.0.
Exploit
Fix
Link Following
Time Of Check To Time Of Use
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Onnx