SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sveltejs | kit | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Svelte | Kit |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-mw6w-2fmv-pvw3 | SvelteKit: adapter-node crashes with an unhandled URIError when `reroute` rewrites malformed pathnames |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.477% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Svelte
Svelte kit |
|
| Vendors & Products |
Svelte
Svelte kit |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, the reroute hook could rewrite an invalid percent-encoded pathname into a valid route and reach a comparison that decoded the original malformed pathname outside the guarded decoding operation. The resulting unhandled URIError could crash an adapter-node server and deny service to other requests. This issue is fixed in 2.70.4 and 3.1.1. | |
| Title | SvelteKit: Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-node | |
| Weaknesses | CWE-248 | |
| References |
|
|
| Metrics |
cvssV3_1
|