{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-35220","published":"2024-05-21T21:15:08.117000Z","last_modified":"2026-06-17T07:34:34.153000Z","status":"Deferred","cvss":{"version":"3.1","score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-613"],"cpes":[],"cpes_truncated":false,"vendors":["fastify"],"products":["fastify/session"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00803,"percentile":0.53561,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-pj27-2xvp-4qxg","ecosystem":"npm","name":"@fastify/session","purl":"pkg:npm/%40fastify/session","ranges":[{"introduced":"0","fixed":"10.9.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":59,"links":{"html_es":"/es/cve/CVE-2024-35220/","html_en":"/en/cve/CVE-2024-35220/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-35220","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-35220"},"untrusted":{"vendor_name":"fastify","product_name":"session","desc_en":"@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.","affected":[{"untrusted_vendor":"fastify","untrusted_product":"session","versions":[]}],"references":[{"url":"https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f","tags":[]},{"url":"https://github.com/fastify/session/issues/251","tags":[]},{"url":"https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg","tags":[]}]}}