anymdのread_pdfに脆弱性、内部ネットワークへの要求やローカルPDFの読み取りのおそれ
Summary
anymdは、PDFを読み取るMCPサーバーです。2.4.1より前のバージョンでは、read_pdfツールのURL指定でSSRF(サーバー側からの不正な要求)を防ぐ検査がなく、内部のHTTPエンドポイントへの要求やfile://経由のローカルPDFの読み取りが可能でした。修正版の2.4.1で対応済みです。2.4.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.
anymdは、PDFを読み取るMCPサーバーです。2.4.1より前のバージョンでは、read_pdfツールのURL指定でSSRF(サーバー側からの不正な要求)を防ぐ検査がなく、内部のHTTPエンドポイントへの要求やfile://経由のローカルPDFの読み取りが可能でした。修正版の2.4.1で対応済みです。2.4.1以降への更新をおすすめします。
Original description The description as published by the source.
anymd is a Model Context Protocol server for reading PDF documents. Prior to version 2.4.1, the read_pdf tool accepted URL sources with no SSRF or scheme validation. The URL branch passed source.url directly to PDF.js, which could fetch internal HTTP endpoints (SSRF), follow redirects to private hosts, and read arbitrary local PDFs via file:// URLs — bypassing the path confinement applied to the path source. This issue has been patched in version 2.4.1.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web github.com
- web github.com
- web github.com
- web github.com