Hugging Face PEFT是Hugging Face公司的一个参数高效微调模型库。 Hugging Face PEFT 0.19.1及之前版本存在反序列化注入漏洞,该漏洞源于src/peft/tuners/lora/corda.py和src/peft/tuners/lora/loraga.py中的LoRA-GA和CorDA初始化模块在加载配置指定的缓存/协方差文件时调用torch.load()且未设置weights_only=True,绕过安全加载包装器,导致反序列化恶意文件时可执行任意代码。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| huggingface | peft | ≤ 0.19.1 |
affected |
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| huggingface | peft | 0 ~ 0.19.1 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No comments yet