mcp-go
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.
mcp-goのOAuth処理に脆弱性が見つかりました。悪意のあるMCPサーバーが、ほかのリソースのトークンを取得できるおそれがあります。影響を受けるのはv0.48.0以上v1.2.1未満で、v1.2.1に更新する必要があります。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mark3labsmcp-go |
≥ v0.48.0, < v1.2.1→ v1.2.1 |
v1.2.1 |
Original description The description as published by the source.
Mark3labs mcp-go before v1.2.1 contains an improper validation vulnerability in OAuthHandler.fetchServerMetadata that allows malicious MCP servers to obtain tokens for other resources by declaring arbitrary resources in well-known metadata. Attackers can declare a different MCP server as the RFC 8707 resource indicator, causing the authorization server to mint tokens the attacker replays against that resource.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com