astro-airflow-mcpに、作業フォルダーの不正なjson.pyが実行される脆弱性
Summary
astro-airflow-mcpの0.5.0から0.9.1では、afコマンドやMCPツールの実行時に、現在のフォルダーにある悪意のあるjson.pyが利用者の権限で動くおそれがあります。修正版の0.9.2で対策されているため、0.9.2以降へ更新してください。0.9.2へ更新できない場合は、環境変数AF_TELEMETRY_DISABLED=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.
astro-airflow-mcpの0.5.0から0.9.1では、afコマンドやMCPツールの実行時に、現在のフォルダーにある悪意のあるjson.pyが利用者の権限で動くおそれがあります。修正版の0.9.2で対策されているため、0.9.2以降へ更新してください。0.9.2へ更新できない場合は、環境変数AF_TELEMETRY_DISABLED=1を設定すると防げます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| astronomerastro-airflow-mcp |
≥ 0.5.0, < 0.9.2→ 0.9.2 |
0.9.2 |
Original description The description as published by the source.
In astro-airflow-mcp 0.5.0 through 0.9.1, the af CLI and the MCP server send telemetry from a Python subprocess that can import modules from the current working directory. If a user runs an af command or an MCP tool call from inside a project that contains an attacker-supplied json.py, that file runs with the user's privileges. Users who only run the tool in projects they trust are not affected. Fixed in 0.9.2; in earlier versions, setting AF_TELEMETRY_DISABLED=1 prevents it.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package pypi.org
- package github.com
- patch github.com
- web github.com
- web pypi.org