DLOmixに悪意あるモデルファイルで任意のコードを実行される脆弱性
Summary
DLOmixの0.2.8以降0.4.1より前に、安全でないデシリアライズの脆弱性が見つかりました。攻撃者が細工したPyTorchのモデルファイルを読み込ませると、利用者の権限でコードが実行されるおそれがあります。修正版の0.4.1で対応できるため、0.4.1への更新を進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
DLOmixの0.2.8以降0.4.1より前に、安全でないデシリアライズの脆弱性が見つかりました。攻撃者が細工したPyTorchのモデルファイルを読み込ませると、利用者の権限でコードが実行されるおそれがあります。修正版の0.4.1で対応できるため、0.4.1への更新を進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| wilhelm-labDLOmix |
≥ 0.2.8, < 0.4.1→ 0.4.1 |
0.4.1 |
Original description The description as published by the source.
DLOmix 0.2.8 before 0.4.1 contains an unsafe deserialization vulnerability that allows attackers to execute code by supplying malicious PyTorch model files to InferencePipeline.load. Attackers can publish a crafted model.pt in a Hugging Face Hub repository loaded via from_pretrained, triggering torch.load with weights_only=False to run code with the user's privileges.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- report github.com
- web github.com
- web github.com