Next.js: Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responses
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmnext |
< 15.5.29→ 15.5.29 |
15.5.29 |
| npmnext |
< 16.0.0→ Not listed |
Not listed |
| vercelnext.js | — | Not listed |
Original description The description as published by the source.
Self-hosted Next.js applications (App Router route handlers and the fetch cache) that return a fetched upstream response unchanged can emit a response whose declared framing does not match the body actually sent. When such an application sits behind an HTTP/1.1 reverse proxy that permits pipelined response queueing, a crafted upstream response can desynchronize responses between clients, enabling response injection and disclosure of other clients' responses.
Source: GitHub Repository Security Advisories (Game のスタック) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web nextjs.org
- web nvd.nist.gov
- web github.com