プラットフォーム
python
コンポーネント
llama-index-readers-obsidian
修正版
0.12.28
0.5.1
CVE-2025-3046は、LlamaIndex Readers Integrationのllama-index-readers-obsidianモジュールにおけるパストラバーサル脆弱性です。この脆弱性を悪用されると、攻撃者はシンボリックリンクを介してvaultディレクトリ外のファイルを読み取ることが可能となり、機密情報が漏洩するリスクがあります。影響を受けるバージョンは0.5.0以下であり、バージョン0.5.1へのアップデートで修正されています。
この脆弱性は、攻撃者がシンボリックリンクを巧妙に配置することで、LlamaIndexが処理するMarkdownファイルとして意図しないファイルを読み込ませることを可能にします。これにより、vaultディレクトリ外の機密ファイル(設定ファイル、データベースダンプ、ログファイルなど)の内容を漏洩させることが可能になります。攻撃者は、この脆弱性を利用して、機密情報を窃取し、システムへのさらなる侵入を試みる可能性があります。特に、vaultディレクトリのアクセス権が適切に設定されていない場合、攻撃の影響は拡大する可能性があります。
CVE-2025-3046は、2025年7月7日に公開されました。現時点では、この脆弱性を悪用した具体的な攻撃事例は報告されていませんが、公開されている脆弱性の情報に基づき、攻撃者がこの脆弱性を悪用する可能性は否定できません。CISA KEVカタログへの登録状況は不明です。公開されているPoCは確認されていません。
Organizations and developers using llama-index-readers-obsidian for integrating Obsidian vaults with LlamaIndex applications are at risk. This includes those deploying LlamaIndex in environments where sensitive data is stored within Obsidian vaults, particularly if the application runs with elevated privileges or has access to the broader file system.
• python / supply-chain:
import os
import subprocess
def check_llama_index_version():
try:
result = subprocess.check_output(['pip', 'show', 'llama-index-readers-obsidian'], stderr=subprocess.STDOUT, text=True)
version = next(line.split(':')[-1].strip() for line in result.splitlines() if 'Version:' in line)
print(f"llama-index-readers-obsidian version: {version}")
if version <= '0.5.0':
print("VULNERABLE: Upgrade required.")
else:
print("Not vulnerable.")
except FileNotFoundError:
print("llama-index-readers-obsidian not installed.")
check_llama_index_version()• generic web: Check for unusual file access patterns in Obsidian vault logs. Look for requests attempting to access files outside the expected directory structure.
disclosure
エクスプロイト状況
EPSS
0.14% (34% パーセンタイル)
CISA SSVC
CVSS ベクトル
この脆弱性への対応策として、まずLlamaIndex Readers Integrationをバージョン0.5.1以上にアップデートすることを推奨します。アップデートが困難な場合は、シンボリックリンクの作成を禁止するファイルシステムレベルのアクセス制御を実装することを検討してください。また、WAF(Web Application Firewall)やプロキシサーバーを使用して、不審なシンボリックリンクのアクセスをブロックすることも有効です。LlamaIndexの構成ファイルにおいて、ファイルパスの検証を強化することも有効な対策となります。
Actualice la biblioteca `llama_index` a la versión 0.12.29 o superior. Esto corrige la vulnerabilidad de path traversal a través de enlaces simbólicos en la clase `ObsidianReader`. La actualización asegura que los enlaces simbólicos se resuelvan correctamente y se validen para evitar el acceso a archivos fuera del directorio previsto.
脆弱性分析と重要アラートをメールでお届けします。
CVE-2025-3046は、LlamaIndex Readers Integrationのllama-index-readers-obsidianモジュールのObsidianReaderクラスにおけるパストラバーサル脆弱性です。攻撃者はシンボリックリンクを悪用して、vaultディレクトリ外のファイルを読み取ることが可能です。
LlamaIndex Readers Integrationのバージョンが0.5.0以下の場合、影響を受けます。バージョン0.5.1以上にアップデートしてください。
LlamaIndex Readers Integrationをバージョン0.5.1以上にアップデートしてください。アップデートが困難な場合は、シンボリックリンクの作成を禁止するファイルシステムレベルのアクセス制御を実装することを検討してください。
現時点では、この脆弱性を悪用した具体的な攻撃事例は報告されていませんが、攻撃者が悪用する可能性は否定できません。
LlamaIndexの公式リポジトリまたは関連するセキュリティアナウンスメントをご確認ください。
requirements.txt ファイルをアップロードすると、影響の有無を即座にお知らせします。