GitHub Advisory Database
GHSA-rqw3-x7hx-mm3p
SvelteKit: `@sveltejs/adapter-node` crashes when proxying certain requests via `fetch`
Details
In affected versions, @sveltejs/adapter-node can attempt to add a header to an immutable request in a context that causes the server to crash, denying service to any other requests routed to that server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @sveltejs/adapter-node | From 5.5.7 before 5.5.8 (fixed in 5.5.8) |
| npm | @sveltejs/adapter-node | From 6.0.0-next.0 before 6.0.1 (fixed in 6.0.1) |
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-rqw3-x7hx-mm3p
- https://github.com/sveltejs/kit/pull/17620
- https://github.com/sveltejs/kit/commit/04756a1f7a4f73e34f1934895340a46de84fc164
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- https://github.com/sveltejs/kit
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]
- https://github.com/sveltejs/kit/releases/tag/@sveltejs/[email protected]