@evomap/evolver has an unbounded request body in proxy /asset/submit that causes persistent disk-exhaustion DoS
GHSA-7xp7-m392-h92c · published 2026-05-05
- Severity
- Medium
- CVSS score
- 6.2
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 1.70.0-beta.5
Disk exhaustion of filesystem (default ~/.evomap/mailbox/). Shared filesystems mean co-located services can crash too. Persistent denial of service: on daemon restart, _rebuildIndex() synchronously reads the whole messages.jsonl via fs.readFileSync, OOM-killing the daemon. Operator must manually delete or truncate the file to recover. Memory exhaustion during the attack: Buffer.concat(chunks).toString() materializes the entire body in memory, so large single requests can also OOM the live daemon before they hit disk. …
Upgrade @evomap/evolver to 1.70.0-beta.5 or later.
1. Cap body size in parseBody() (src/proxy/server/http.js): 2. Add a per-message payload-size budget in MailboxStore.send() / writeInbound() (src/proxy/mailbox/store.js) — reject messages whose serialized size exceeds e.g. 256 KiB, returning a 413 to the caller. 3. Reject specifically large body.assets[*].blob / body.payload shapes in /asset/submit and /mailbox/send handlers in src/proxy/server/routes.js before calling store.send(). 4. (Defense in depth) In _rebuildIndex(), switch readLines() to a streaming line reader (readline.createInterface over fs.createReadStream) so a corrupt or oversized file degrades gracefully instead of OOM-ing on startup.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @evomap/evolver | npm | <= 1.70.0-beta.4 | 1.70.0-beta.5 |
- HightsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS@tsparticles/mcp-server
- HighMissing request-wide media budget allows single-request frontend resource exhaustionvllm
- HighMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length@modelcontextprotocol/hono, @modelcontextprotocol/node, @modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighvLLM : DoS via unvalidated mm_processor_kwargs in multimodal image processors (Isaac, InternVL, H2OVL, etc.)vllm
- HighUnbounded session retention in the Streamable HTTP transport allows an initialize flood DoSio.modelcontextprotocol.sdk:mcp-core
- HighUnauthenticated unbounded tool_schemas cache growth in rmcp Streamable HTTP server transport leads to remote denial-of-servicermcp
- CriticalEvolver: Command Injection via `execSync` in `_extractLLM()` function allows Remote Code Execution@evomap/evolver
- High@evomap/evolver: Path Traversal in `evolver fetch` default-branch `safeId` allows Hub-controlled overwrite of project files (RCE)@evomap/evolver
- High@evomap/evolver's validator sandbox allowlist permits `npm`/`npx`, yielding RCE from Hub-delivered validation tasks via lifecycle scripts@evomap/evolver
- HighEvolver: Path Traversal via `--out` flag in `fetch` command allows Arbitrary File Write@evomap/evolver
- MediumEvolver has Prototype Pollution via `Object.assign()` in its mailbox store operations@evomap/evolver
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.