CVE-2024-35220
@fastify/session is a session plugin for fastify. Requires the …
@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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f
- github.com/fastify/session/issues/251
- github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg
- nvd.nist.gov/vuln/detail/CVE-2024-35220
- github.com/advisories/GHSA-pj27-2xvp-4qxg
- nvd.nist.gov/vuln/detail/CVE-2024-35220
- cve.org/CVERecord?id=CVE-2024-35220
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.