@fastify/middie is the plugin that adds Express-style middleware support to the Fastify web framework.
@fastify/middie is the plugin that adds Express-style middleware support to the Fastify web framework. In versions 9.3.6 through 9.3.9, a route or mount path written without a leading slash inside a plugin registered under a prefix is handled inconsistently: the middleware is mounted with a separating slash after the prefix, while the route is concatenated directly onto the prefix, so a request to the concatenated path reaches the route handler without running the middleware mounted for it. An attacker can use this to bypass authentication or other middleware-based access controls on the affected routes. The issue is fixed in @fastify/middie 9.3.10, and users should upgrade to 9.3.10 or late
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- @Fastify/Middie
- Product
- @fastify/middie
- CVSS v3.1
- 7.4 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Fix
- available
- Weakness
- CWE-436, CWE-863
- Exposure class
- Developer platform
- NVD status
- Received
Why it ranks 35 (Notable)
- CVSS v3.1 7.4 high
- Product class: developer platform
- Fix available
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.