CVE-2024-35220

@fastify/session reuses destroyed session cookie

Published May 21, 2024 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
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.
This means a cookie is never correctly detected as expired and thus expired sessions are not destroyed. This vulnerability has been patched 10.8.0.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1716 @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. This means a cookie is never correctly detected as expired and thus expired sessions are not destroyed. This vulnerability has been patched 10.8.0.
Github GHSA Github GHSA GHSA-pj27-2xvp-4qxg @fastify/session reuses destroyed session cookie
History

No history.

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 3:07 AM
Reserved
May 14, 2024, 3:39 PM
Status
Deferred
Published
May 21, 2024, 9:15 PM
Modified
Jun 17, 2026, 7:34 AM