@fastify/session
Affected
- introduced
0, fixed10.9.0(semver)
Fixed versions
10.9.0
Fix
- Fixed version
10.9.0npm install @fastify/[email protected]
Advisory
Also known as: CVE-2024-35220
@fastify/session reuses destroyed session cookie
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
High Basis: The source's own band: HIGH
0, fixed 10.9.0 (semver)10.9.0
10.9.0npm install @fastify/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0