@fastify/session@10.8.0 vulnerabilities

a session plugin for fastify

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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