CVE-2024-35220
HIGHfastify/session < 10.9.0 - Insufficient Session Expiration via Cookie Restore
Title source: llmDescription
@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.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg
Issue Tracking x_refsource_misc
https://github.com/fastify/session/issues/251
Scores
CVSS v3
7.4
EPSS
0.0044
EPSS Percentile
35.2%
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