A denial of service vulnerability exists in mcp-go through version 1.2.1. An attacker can exploit this by sending oversized or numerous concurrent POST requests with large bodies, which can cause memory exhaustion and potentially lead to a denial of service. This issue arises from the server's inability to handle large POST bodies efficiently, allowing attackers to degrade or crash the server by exploiting this weakness. Defenders should assess their exposure, particularly in systems using mcp-go that are exposed to untrusted or internet-facing networks.
A vulnerability in mcp-go allows an attacker to bypass Host header validation on loopback connections, potentially enabling DNS rebinding attacks. This issue was addressed in version 0.56.0. The vulnerability allows an attacker to serve any request arriving over a loopback connection regardless of the host it named. A page in a browser could therefore point a name it controlled at the loopback address and reach a server listening there, invoking tools and reading resources that the server exposed on the assumption that only local software could connect.