eoleに、モデルの設定ファイルを介して任意のPythonコードを実行される脆弱性
Summary
eole 0.6.8以前には、設定ファイルの値をeval()で評価してしまう脆弱性があります。細工したモデルディレクトリやHugging Faceのリポジトリを読み込むと、利用者の権限でPythonコードが実行されるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
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.
eole 0.6.8以前には、設定ファイルの値をeval()で評価してしまう脆弱性があります。細工したモデルディレクトリやHugging Faceのリポジトリを読み込むと、利用者の権限でPythonコードが実行されるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| eole-nlpeole |
≤ 0.6.8→ 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.
eole through 0.6.8 contains an eval injection vulnerability in pydantic configuration validators that allows attackers to execute Python code by supplying a crafted model directory. Attackers can distribute a model or Hugging Face repository whose config.json contains malicious strings in fields like model.embeddings, executing code as the user loading the model.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory VulnCheck Advisory: eole through 0.6.8 Code Execution via eval() of Model config.json Values
- issue github.com
- patch github.com
- web github.com
- web github.com