Jupyter MCP Serverに制限回避の脆弱性、修正版あり
Summary
Jupyter MCP Serverの2.1.3未満では、Hostヘッダーを偽るだけで管理用APIを遠隔から呼べる脆弱性があり、認証なしモードで動かす組織は特に影響を受けます。2.1.3へ更新し、認証なしモードの利用有無を確認してください。
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.
Jupyter MCP Serverの2.1.3未満では、Hostヘッダーを偽るだけで管理用APIを遠隔から呼べる脆弱性があり、認証なしモードで動かす組織は特に影響を受けます。2.1.3へ更新し、認証なしモードの利用有無を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| datalayerjupyter-mcp-server | — | Not listed |
| PyPIjupyter-mcp-server |
< 2.1.3→ 2.1.3 |
2.1.3 |
| pipjupyter-mcp-server |
< 2.1.3→ 2.1.3 |
2.1.3 |
Original description The description as published by the source.
Jupyter MCP Server is a Model Context Protocol server for Jupyter. Prior to 2.1.3, ManagementRouteSecurityMiddleware in jupyter_mcp_server/server.py checks request.url.hostname rather than the actual TCP peer before permitting access to /api/connect, /api/stop, and /api/healthz. Starlette derives that hostname from the client-supplied Host header, so a remote caller can supply a localhost Host value to pass the check. The server binds to all network interfaces by default. In --insecure-mcp-noauth mode, the caller can replace the active Jupyter backend configuration; in --mcp-token mode the state-changing routes still require a valid bearer token, while the health route remains reachable. This issue is fixed in 2.1.3.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com