diffpy.structureに任意のPythonコードを実行される脆弱性、3.5.1で修正
Summary
diffpy.structure 3.5.1より前のバージョンには、細工されたCIFファイルを読み込むと任意のPythonコードを実行される脆弱性があります。CIFファイルはローカルで解析された時点で悪用され、実行者は被害者の権限で動作します。修正版の3.5.1が公開されているので、3.5.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.
diffpy.structure 3.5.1より前のバージョンには、細工されたCIFファイルを読み込むと任意のPythonコードを実行される脆弱性があります。CIFファイルはローカルで解析された時点で悪用され、実行者は被害者の権限で動作します。修正版の3.5.1が公開されているので、3.5.1以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| diffpydiffpy.structure |
< 3.5.1→ 3.5.1 |
3.5.1 |
Original description The description as published by the source.
diffpy.structure before 3.5.1 contains a code execution vulnerability that allows attackers to run Python code by supplying crafted CIF symmetry operations passed to eval() in get_symop(). Attackers can embed expressions in the _space_group_symop_operation_xyz or _symmetry_equiv_pos_as_xyz loop to execute code with victim privileges when the CIF file is parsed locally.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- 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