漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
LLaMA-Factory 0.9.5 Remote Code Execution via WebUI Model Path
Vulnerability Description
LLaMA-Factory through 0.9.5 contains a remote code execution vulnerability that allows attackers with WebUI access to execute arbitrary Python code by supplying a malicious model path in the Chat or Training interfaces. The application passes user-supplied model path input unvalidated into AutoTokenizer.from_pretrained() and AutoModel.from_pretrained() with a hardcoded trust_remote_code=True parameter, causing the Hugging Face transformers library to fetch and execute arbitrary code from a remote or local model repository with the privileges of the server process.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
从非可信控制范围包含功能例程
Vulnerability Title
hiyouga LLaMA-Factory 软件供应链问题漏洞
Vulnerability Description
hiyouga LLaMA-Factory是hiyouga个人开发者开源的一个大语言模型微调框架。 hiyouga LLaMA-Factory 0.9.5及之前版本存在安全漏洞,该漏洞源于应用将用户提供的未经验证的模型路径输入传递给AutoTokenizer.from_pretrained()和AutoModel.from_pretrained()函数,且硬编码trust_remote_code=True参数,可能导致具有WebUI访问权限的攻击者通过提供恶意的模型路径执行任意Python代码。
CVSS Information
N/A
Vulnerability Type
N/A