CVE-2024-35220

HIGH

Fastify Session < 10.9.0 - Insufficient Session Expiration

Title source: rule
STIX 2.1

Description

@fastify/session is a session plugin for fastify. Requires the @fastify/cookie plugin. 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. This vulnerability has been patched 10.8.0.

Scores

CVSS v3 7.4
EPSS 0.0035
EPSS Percentile 57.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-613
Status published
Products (2)
fastify/session 0 - 10.9.0npm
fastify/session < 10.9.0
Published May 21, 2024
Tracked Since Feb 18, 2026