{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-35220","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-05-14T15:39:41.783Z","datePublished":"2024-05-21T20:26:53.312Z","dateUpdated":"2024-08-02T03:07:46.810Z"},"containers":{"cna":{"title":"@fastify/session reuses destroyed session cookie","problemTypes":[{"descriptions":[{"cweId":"CWE-613","lang":"en","description":"CWE-613: Insufficient Session Expiration","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg"},{"name":"https://github.com/fastify/session/issues/251","tags":["x_refsource_MISC"],"url":"https://github.com/fastify/session/issues/251"},{"name":"https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f","tags":["x_refsource_MISC"],"url":"https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f"}],"affected":[{"vendor":"fastify","product":"session","versions":[{"version":"< 10.9.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-05-21T20:26:53.312Z"},"descriptions":[{"lang":"en","value":"@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."}],"source":{"advisory":"GHSA-pj27-2xvp-4qxg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-35220","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-22T15:49:51.191902Z"}}}],"affected":[{"cpes":["cpe:2.3:a:fastify:session:0:*:*:*:*:*:*:*"],"vendor":"fastify","product":"session","versions":[{"status":"affected","version":"0","versionType":"custom","lessThanOrEqual":"10.8.0"},{"status":"unaffected","version":"10.9.0"}],"defaultStatus":"unknown"}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:34:24.350Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T03:07:46.810Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg"},{"name":"https://github.com/fastify/session/issues/251","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/fastify/session/issues/251"},{"name":"https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f"}]}]}}