High
undici cache stores can be forced into unbounded memory use
A malicious or compromised HTTP origin can send a cacheable response split into millions of tiny chunks; undici's built-in memory and SQLite cache stores hold each chunk as a separate object that the configured size limits do not bound. A few concurrent responses like this exhaust server memory and crash the process.
7.30.48.14.1Am I affected?
You are affected if the installed version is older than the fixed version of its release line: 7.30.4, 8.14.1. Check the version you have and update to the fixed version of your line or later. The fixed versions are verified against a vendor or advisory source.
Affected software and versions
| Package | Ecosystem | Affected | Fixed in |
|---|---|---|---|
undici | other | >=7.0.0, <7.30.4 | 7.30.4 |
undici | other | >=8.0.0, <8.14.1 | 8.14.1 |
A fixed version is shown only when it is verified against a vendor or advisory source.
Who should check
Any Node.js project using the undici package on macOS, Windows or Linux, in versions 7.x before 7.30.4 or 8.x before 8.14.1.
Expected outcome after remediation
The agent reports which undici version was found, whether it falls in an affected range, and confirms it has been updated to 7.30.4 or 8.14.1 as applicable.
Get the fix
FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5888 and your operating system.
Related undici incidents
- undici HTTP client crash on closed connection under backpressureHigh8.4.1
- undici validates redirect target's certificate against the wrong hostHigh8.14.1
- undici drops app-configured TLS options on some request routesHigh8.14.1
- undici HTTP/2 stream bug: uncaught error crashes the Node.js processHigh8.14.1
- undici retry bug crashes Node.js apps on resumed responsesHigh8.14.1
- undici HTTP client can get stuck in an infinite reconnect replay loopHigh8.14.1