Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
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