Skip to content

← Public intelligence

npm package

@fastify/session

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.4npmAmendedPublished

    @fastify/session reuses destroyed session cookie

    CVE-2024-35220 · GHSA-pj27-2xvp-4qxg

    Affected
    • npm @fastify/session < 10.9.0
    Fixed in
    10.9.0· Vendor fix available
    Issue
    Impact When restoring the cookie from the session store, the expires field is overriden if the maxAge field was set. This means a cookie is never correctly detected as expired and thus expired sessions are not destroyed. Patches Updating to v10.9.0 will solve this. Workarounds None References Publicly reported at: https://github.com/fastify/session/issues/251

    Recommended action: Upgrade to 10.9.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →