Detoxifyに細工されたチェックポイントで任意のコードを実行される脆弱性
Summary
Detoxify 0.5.3から0.5.4には、load_checkpointの安全でないデシリアライズ(CWE-502)の脆弱性があります。細工された.ckptファイルを読み込ませると、利用者の権限でコードが実行されるおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
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.
Detoxify 0.5.3から0.5.4には、load_checkpointの安全でないデシリアライズ(CWE-502)の脆弱性があります。細工された.ckptファイルを読み込ませると、利用者の権限でコードが実行されるおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| unitaryaiDetoxify |
0.5.3 – 0.5.4→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in load_checkpoint that allows attackers to execute code by supplying a crafted checkpoint file. Attackers can embed a pickle reduce gadget in a .ckpt file loaded via 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 nvd.nist.gov
- advisory github.com
- package github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com