{"cve":"CVE-2024-35220","nvd":{"published":"2024-05-21T21:15:08.117","modified":"2026-06-17T07:34:34.153","status":"Deferred","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.\nThis means a cookie is never correctly detected as expired and thus expired sessions are not destroyed. This vulnerability has been patched 10.8.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4},"cwes":["CWE-613"],"references":["https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f","https://github.com/fastify/session/issues/251","https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg","https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f","https://github.com/fastify/session/issues/251"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:50:30.954589733+00:00"},"epss":{"cve":"CVE-2024-35220","score":0.00445,"percentile":0.38735,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-pj27-2xvp-4qxg","url":"https://osv.dev/vulnerability/GHSA-pj27-2xvp-4qxg","summary":"@fastify/session reuses destroyed session cookie","modified":"2026-09-10T03:50:14.089901675Z","packages":[{"ecosystem":"npm","name":"@fastify/session","purl":"pkg:npm/%40fastify/session","ranges":["<10.9.0"],"fixed":["10.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}