GitHub Advisory Database
GHSA-mw6w-2fmv-pvw3
SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames
Details
When reroute turned an invalid percent-encoded path into a valid path, it could potentially trigger a comparison that would crash the server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @sveltejs/kit | From 3.0.0 before 3.1.1 (fixed in 3.1.1) |
| npm | @sveltejs/kit | All versions before 2.70.4 (fixed in 2.70.4) |
References
- https://github.com/sveltejs/kit/security/advisories/GHSA-mw6w-2fmv-pvw3
- https://github.com/sveltejs/kit/pull/17620
- https://github.com/sveltejs/kit/commit/0a2e58cbccdd46cac20aa5af4e2edf17e0da11dd
- https://github.com/sveltejs/kit/commit/7993d5ebab017cb1be898a0b1c57371c5da06557
- 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]