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
Diffusers Path Traversal via weight_map Arbitrary File Read
Vulnerability Description
Diffusers through 0.39.0, fixed in commit cee298c, contains a path traversal vulnerability in the _get_checkpoint_shard_files function that allows attackers to read arbitrary files by supplying malicious weight_map values in model index JSON. Attackers can use ../ sequences or absolute paths in weight_map entries to escape the model directory and read safetensors files outside the intended location during model loading.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Hugging Face diffusers 路径遍历漏洞
Vulnerability Description
Hugging Face diffusers是Hugging Face公司开源的一个生成图像、音频和3D分子结构的扩散模型库。 Diffusers 0.39.0及之前版本存在路径遍历漏洞,该漏洞源于_get_checkpoint_shard_files函数中存在路径遍历问题,允许攻击者通过提供恶意的weight_map值在模型索引JSON中读取任意文件。攻击者可利用../序列或绝对路径在weight_map条目中逃出模型目录,在模型加载期间读取指定位置外的safetensors文件。
CVSS Information
N/A
Vulnerability Type
N/A