@fastify/middie@9.1.0 vulnerabilities

Middleware engine for Fastify

  • latest version

    9.2.0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @fastify/middie package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Interpretation Conflict

    @fastify/middie is a Middleware engine for Fastify

    Affected versions of this package are vulnerable to Interpretation Conflict via the middleware matching engine when router options like ignoreDuplicateSlashes, useSemicolonDelimiter, or other trailing-slash normalization are enabled. An attacker can bypass path-scoped authorization middleware and reach protected handlers by sending crafted normalized variants such as //secret, /secret;foo=bar, or /secret/.

    How to fix Interpretation Conflict?

    Upgrade @fastify/middie to version 9.2.0 or higher.

    <9.2.0