Bagpipesに任意のPythonコードを実行される脆弱性、細工されたHDF5ファイルで攻撃
Summary
Bagpipes 1.4.1以前には、細工されたposterior HDF5ファイルを読み込むと任意の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.
Bagpipes 1.4.1以前には、細工されたposterior HDF5ファイルを読み込むと任意のPythonコードが実行される脆弱性があります。悪用されたことは確認されていません。攻撃者は不正なファイルを含むプロジェクトフォルダーを共有することで、フィッティングやプロットのスクリプトを実行したユーザーの権限でコードを動かせます。修正版の情報は、公開されていないため最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ACCarnallBagpipes |
≤ 1.4.1→ 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.
Bagpipes through 1.4.1 contains an eval injection vulnerability in bagpipes/fitting/fit.py and posterior.py that allows attackers to execute Python code by supplying a crafted posterior HDF5 file. Attackers can share a project folder containing a malicious .h5 file whose fit_instructions attribute is passed to eval(), executing code as the user running fitting or plotting scripts.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory VulnCheck Advisory: Bagpipes through 1.4.1 Code Execution via eval() of fit_instructions
- issue github.com
- patch github.com
- web github.com
- web github.com