Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-pj27-2xvp-4qxg: @fastify/session reuses destroyed session cookie

Impact

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.

Patches

Updating to v10.9.0 will solve this.

Workarounds

None

References

Publicly reported at: https://github.com/fastify/session/issues/251

ghsa
#vulnerability#nodejs#git

Skip to content

Navigation Menu

    • Actions

      Automate any workflow

    • Packages

      Host and manage packages

    • Security

      Find and fix vulnerabilities

    • Codespaces

      Instant dev environments

    • Copilot

      Write better code with AI

    • Code review

      Manage code changes

    • Issues

      Plan and track work

    • Discussions

      Collaborate outside of code

    • GitHub Sponsors

      Fund open source developers

*   The ReadME Project
    
    GitHub community articles
  • Pricing

Provide feedback

Saved searches****Use saved searches to filter your results more quickly

Sign up

  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2024-35220

@fastify/session reuses destroyed session cookie

High severity GitHub Reviewed Published May 21, 2024 in fastify/session • Updated May 21, 2024

Package

npm @fastify/session (npm)

Affected versions

< 10.9.0

Description

Impact

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.

Patches

Updating to v10.9.0 will solve this.

Workarounds

None

References

Publicly reported at: fastify/session#251

References

  • GHSA-pj27-2xvp-4qxg
  • fastify/session#251
  • fastify/session@0495ce5

Published to the GitHub Advisory Database

May 21, 2024

Last updated

May 21, 2024

ghsa: Latest News

GHSA-jp37-5qhw-mffw: Sharks has a Bias of Polynomial Coefficients in Secret Sharing