Insufficient Session Expiration Affecting @fastify/session package, versions <10.9.0
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.05% (17th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-FASTIFYSESSION-6969137
- published 22 May 2024
- disclosed 21 May 2024
- credit Unknown
Introduced: 21 May 2024
CVE-2024-35220 Open this link in a new tabHow to fix?
Upgrade @fastify/session
to version 10.9.0 or higher.
Overview
@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.
References
CVSS Scores
version 3.1