@fastify/session/.../session@6.0.0 vulnerabilities

a session plugin for fastify

  • latest version

    11.0.1

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @fastify/session 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
    • H
    Insufficient Session Expiration

    @fastify/session is an a session plugin for fastify

    Affected versions of this package are vulnerable to Insufficient Session Expiration when restoring the cookie from the session store. An attacker can exploit this vulnerability by ensuring the expires field is overridden if the maxAge field was set, causing expired sessions to not be destroyed.

    How to fix Insufficient Session Expiration?

    Upgrade @fastify/session to version 10.9.0 or higher.

    <10.9.0