paramzに信頼できないモデルファイルを読み込むと遠隔からコードを実行される脆弱性
Summary
paramzの0.10.0までの版には、paramz.load()が検証なしでpickleを読み込むため、細工されたモデルファイルでコードを実行される脆弱性があります。共有されたparamzやGPyのモデルファイルを読み込むと、利用者の権限で攻撃コードが動くおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
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.
paramzの0.10.0までの版には、paramz.load()が検証なしでpickleを読み込むため、細工されたモデルファイルでコードを実行される脆弱性があります。共有されたparamzやGPyのモデルファイルを読み込むと、利用者の権限で攻撃コードが動くおそれがあります。修正版の情報は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| sodsparamz |
≤ 0.10.0→ 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.
paramz through 0.10.0 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted model files to paramz.load(), which calls pickle.load() without restrictions. Attackers can embed objects whose reduce method returns callables like exec or os.system in shared paramz or GPy model files to run code with the victim's privileges.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- report github.com
- web github.com
- web github.com
- web pypi.org