CVE-2024-35220
@fastify/session reuses destroyed session cookie
7.4
HIGH
CVSS 3.1
EPSS 0.35%
Description
### 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
How to fix CVE-2024-35220
To remediate CVE-2024-35220, upgrade the affected package to a fixed version below.
- —upgrade to 10.9.0 or later
Is CVE-2024-35220 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 10.9.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |