1. Home
  2. Vulnerabilities
  3. CVE-2024-35220

CVE-2024-35220

@fastify/session is a session plugin for fastify. Requires the @fastify/cookie plugin. When restoring the…

Published 21 May 2024 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 43/100

Summary

@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.

Affected products and versions

No product provided by the sources yet.

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N (CVSS 3.1, CNA:security-advisories@github.com)
Weakness
CWE-613 · Autre (CWE-613)

How this data is obtained and calculated