@fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @fastify/middie | @fastify/middie | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Fastify | Fastify/middie |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.523% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Fastify fastify\/middie
|
|
| CPEs | cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Fastify fastify\/middie
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Fastify
Fastify fastify/middie |
|
| Vendors & Products |
Fastify
Fastify fastify/middie |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @fastify/middie versions >= 9.1.0 and before 9.3.4 decide whether to run path-scoped middleware by matching against the raw request target, while the Fastify router resolves an absolute-form request target to its path before dispatching. Because the two layers evaluate different strings, a request using an absolute-form target reaches the route handler while the path-scoped middleware, such as authentication or authorization, is skipped. An unauthenticated network attacker can use this to bypass path-based access controls in a Fastify application that relies on middie for those controls. Users should upgrade to @fastify/middie 9.3.4 or later. | |
| Title | @fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target | |
| Weaknesses | CWE-436 | |
| References |
| |
| Metrics |
cvssV3_1
|