fastify-static@0.4.1 vulnerabilities

`fastify-static@4.7.0` has been deprecated. Please use `@fastify/static@5.0.0` instead.

  • latest version

    4.7.0

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    2 years ago

  • deprecated

    Package is deprecated

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the fastify-static package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Open Redirect

    fastify-static is a plugin for serving static files as fast as possible.

    Affected versions of this package are vulnerable to Open Redirect. It allows remote attackers to redirect Mozilla Firefox users to arbitrary websites via a double slash // followed by a domain - http://localhost:3000//google.com/%2e%2e.

    The issue shows up on all the fastify-static applications that set the redirect: true option, which is false by default.

    How to fix Open Redirect?

    Upgrade fastify-static to version 4.2.4 or higher.

    <4.2.4