mcp-fetch-serverにSSRF脆弱性、1.2.0で修正
Summary
AIにWebページを取得させるmcp-fetch-serverの1.1.0以上1.2.0未満で、内部ネットワークやクラウドのmetadata endpointの応答を読み出されるおそれがあります。該当する版を使っているなら、1.2.0以降へ更新してください。
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.
AIにWebページを取得させるmcp-fetch-serverの1.1.0以上1.2.0未満で、内部ネットワークやクラウドのmetadata endpointの応答を読み出されるおそれがあります。該当する版を使っているなら、1.2.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| zcaceresmcp-fetch-server |
≥ 1.1.0, < 1.2.0→ 1.2.0 |
1.2.0 |
Original description The description as published by the source.
mcp-fetch-server 1.1.0 before 1.2.0 contains a server-side request forgery vulnerability in validateUrl and validateResolvedIp that fails to block IPv4-mapped IPv6 addresses. Attackers controlling URLs passed to fetch tools can use hex-form IPv6 literals, trailing-dot localhost, or *.localhost names to reach loopback services, internal hosts, and cloud metadata endpoints.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com