漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
ONNX symlink-following and path-traversal arbitrary file write
Vulnerability Description
In ONNX before 1.21.0, the 'save_external_data' function builds the external-data file path from the model's external_data location field and opens it for writing without 'O_NOFOLLOW/O_EXCL', after a non-atomic 'os.path.isfile()' check. A local attacker with write access to the directory where a victim serializes external data can deterministically pre-plant a symlink that is being followed, causing the victim's write to append to any file the victim can write, e.g. ~/.ssh/authorized_keys, cron files, or application configs. Fixed in 1.21.0.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
Vulnerability Title
ONNX 路径遍历漏洞
Vulnerability Description
ONNX是ONNX组织开源的一个机器学习模型交换格式。 ONNX 1.21.0之前版本存在安全漏洞,该漏洞源于save_external_data函数在构建外部数据文件路径时未使用O_NOFOLLOW/O_EXCL标志且检查非原子,可能导致本地攻击者通过预置符号链接使受害者写入追加到任意文件,如~/.ssh/authorized_keys、cron文件或应用配置。
CVSS Information
N/A
Vulnerability Type
N/A