The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @fastify/middie to version 9.3.7 or higher.
@fastify/middie is a Middleware engine for Fastify
Affected versions of this package are vulnerable to Improper Validation of Specified Type of Input via the use method's array mount-path handling, where the internal sanitizePrefixUrl helper only processes string inputs but use() also accepts an array of mount paths and passes it through unchanged. When an array is supplied, the string normalization silently does nothing, so a trailing slash on an array element survives into the generated route-matching regular expression, and an element of exactly / is dropped entirely. The compiled regex then fails to match subroutes of the affected mount paths, causing path-scoped middleware such as authentication, authorization, or rate limiting to be skipped while Fastify's router still dispatches the request to the handler, allowing an unauthenticated client to reach protected routes.
Note: This is only exploitable when middleware is mounted on an array of paths where at least one element ends with a trailing slash (including one introduced by a plugin prefix ending in /) or is exactly /.