Zyrabit Platformにファイル読み書きの脆弱性、修正版あり
Summary
Zyrabit Platformの2.4.4より前には、任意の場所へのファイル書き込みと、サーバー上のファイルの読み出しにつながる脆弱性があります。社内のRAG基盤として使っている組織は、2.4.4へ更新し、旧拡張の設定を確認してください。
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.
Zyrabit Platformの2.4.4より前には、任意の場所へのファイル書き込みと、サーバー上のファイルの読み出しにつながる脆弱性があります。社内のRAG基盤として使っている組織は、2.4.4へ更新し、旧拡張の設定を確認してください。
Original description The description as published by the source.
Zyrabit Platform provides sovereign AI infrastructure for enterprise retrieval-augmented generation. Prior to 2.4.4, import_to_vault(source_path, destination_name) accepts both caller-controlled paths, but the content-pattern guard does not confine destination_name. The vulnerable tool is implemented in zyrabit-slm/api-rag/app/domain/services/mcp_service.py, where Path(DOCS_DIR) / destination_name is passed to shutil.copy2, allowing traversal or an absolute destination to write outside the vault. An unrestricted source_path can be copied into the vault and retrieved through secure_query, disclosing files readable by the service; files that do not match the executable-pattern filter pass that filter. When ENABLE_LEGACY_EXTENSIONS=true, zyrabit-slm/api-rag/app/main.py registers POST /mcp/rpc without get_current_user, allowing unauthenticated network tool calls; this optional exposure is disabled by default and is not required for local invocation. If an attacker can stage chosen source content and write to an execution-triggered destination, the advisory describes conditional process execution. This issue is fixed in version 2.4.4.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com