@fastify/middie versions 9.3.1 and earlier are vulnerable to middleware bypass when the deprecated Fastify ignoreDuplicateSlashes option is enabled. The middleware path matching logic does not account for duplicate slash normalization performed by Fastify's router, allowing requests with duplicate slashes to bypass middleware authentication and authorization checks. This only affects applications using the deprecated ignoreDuplicateSlashes option. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds other than disabling the ignoreDuplicateSlashes option.
oryginał ENCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NFastify Fastify\/middie
APPFastify< 9.3.2
Powiązane podatności
Fastify/Middie: pominięcie middleware przez zakodowany slash w URL
Pominięcie uwierzytelnienia w @fastify/middie — brak dziedziczenia middleware
DoS w @fastify/middie — nieobsłużony wyjątek przy zniekształconych URL powoduje crash procesu
A vulnerability in @fastify/middie versions < 9.2.0 can result in authentication/authorization bypass when usi...
@fastify/middie is the plugin that adds middleware support on steroids to Fastify. A security vulnerability ex...